tsdave - 2005-10-25 3:45 PM
well after alot of trial and error then ALOT of searching i found out that the CF
slot is "/dev/wd0e". And by looking at the output of "df" or "mount" i see the
ramdisk image is "/dev/md0a" but when i try to "dd if=/dev/md0a of=/mnt/miniroot.fs" i get "device busy" errors. Unfourtunatly i cant "umount" my "/" cause i guess i need
it.
so any suggestions on how to copy my ramdrive to a file on my cf card ?
From what I know, if the partition on your CF is msdos type, do a
mount -t msdos /dev/wd0e /mnt
to verify, do a fdisk -l /dev/wd0
this would
(or should
) list the partitions on the device /dev/wd0 which in your case points to the CF. If it fails, do a fdisk /dev/wd0 and type "p" to print
(list
) out the partitions in this device. Make sure you have a valid partition that you can access.
wd0a should typically refer to the first *nix
(ffs2 or ffs3
) partition while wd0e refers to the first msdos or non-ffs# partition. wd0b typically refer to swap
(I think
) and wd0c
(or was it wd0d?
) refers to the whole drive.
Hope this helps.