14
- Disk Setup
Cyl 0 - 122
i: 250592 32 MSDOS #
Cyl 0*- 122*
As can be seen in the disklabel output above, there is only one partition
i, containing
a FAT filesystem created on
a Windows machine. As usual, the
c partition indicates the entire device.
Let's now mount the filesystem in the
i partition on
/mnt/flashmem
.
#
mount -t msdos /dev/sd0i /mnt/flashmem
Now you can start using it just like any other disk.
WARNING: You should
always unmount the
filesystem before unplugging the memory device. If you don't,
the filesystem may be left in an inconsistent state, which may result in data corruption.
Upon detaching the memory
device from your machine, you will again see the kernel write messages about this to
the console:
umass0: at uhub1 port 1 (addr 2) disconnected
sd0
detached
scsibus2 detached
umass0 detached
Do'stlaringiz bilan baham: