I'm not sure this is correct way to create MS-DOS fs image and
mounting it.

% dd if=/dev/zero of=test.flp bs=1024 count=1440
1440+0 records in
1440+0 records out
1474560 bytes transferred in 0.044105 secs (33432904 bytes/sec)
% sudo mdconfig -a -t vnode -f test.flp
md1
% sudo newfs_msdos -f 1440 -L test /dev/md1
/dev/md1: 2847 sectors in 2847 FAT12 clusters (512 bytes/cluster)
bps=512 spc=1 res=1 nft=2 rde=224 sec=2880 mid=0xf0 spf=9 spt=18 hds=2 hid=0
% sudo mount -t msdos /dev/md1 /mnt
msdosfs: /dev/md1: No such file or directory


How should I do?


-- 
Jun Kuriyama <[EMAIL PROTECTED]> // IMG SRC, Inc.
             <[EMAIL PROTECTED]> // FreeBSD Project

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to