Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2002 08:42:23 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Current <freebsd-current@FreeBSD.org>
Subject:   Mounting MS-DOS fs image via /dev/md*
Message-ID:  <7mpts02oww.wl@black.imgsrc.co.jp>

next in thread | raw e-mail | index | archive | help

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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mpts02oww.wl>