使用removable disk在Linux和Solaris之间传递>4G文件

> another migration-related question: I do have a fairly well sized USB > drive to hold data so far to share between Linux, Windows and > OpenSolaris, thus the lowest common denominator (in terms of file > systems) being FAT32. Taken into account I do have also to backup a few > VirtualBox images (which are larger than FAT32 allows), I will have to > reformat this drive anyhow, so my question: What kind of file system > would suit best the need of being written to in Linux _and_ read from in > OpenSolaris? (This is just for the migration of config and some data > indeed, I'll have to go for FAT32 again after for the Windows situations > anyhow...).

In that case, I'd use "star" to write directly to the media, i.e. create an empty/unused primary partition on the drive (what'd be /dev/hd.X, 1 <= X <= 4, on Linux, and /dev/dsk/...p[1-4] on Solaris), and then do: cd /dir-to-backup-from; star cvf /dev/dsk/hde2 . on Linux, and cd /dir-to-restore-in; star xvf /dev/dsk/c...p2 on Solaris to extract it. That's capable of >4GB files, UNIX permissions, long filenames, ... - for a simple data transfer/copy, it's also much faster than FAT32.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值