Re: msdosfs oddity?

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.devel.kernel
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Mouse) writes:

>I plug the thing in with the button pressed, which is supposed to make
>it appear as a mass-storage device.  Which it does:

>umass0 at uhub1 port 1 configuration 1 interface 0
>umass0: Raspberry Pi RP2 Boot, rev 1.10/1.00, addr 2
>umass0: using SCSI over Bulk-Only
>scsibus0 at umass0: 2 targets, 1 lun per target
>sd0 at scsibus0 target 0 lun 0: <RPI, RP2, 2> disk removable
>sd0: fabricating a geometry
>sd0: 128 MB, 128 cyl, 64 head, 32 sec, 512 bytes/sect x 262144 sectors
>sd0: fabricating a geometry


On NetBSD-current (same on -10):

[ 556239.246803] umass1 at uhub5 port 3 configuration 1 interface 0
[ 556239.246803] umass1: Raspberry Pi (0x2e8a) RP2 Boot (0x0003), rev 1.10/1.00,
 addr 10
[ 556239.246803] umass1: using SCSI over Bulk-Only
[ 556243.796968] scsibus1 at umass1: 2 targets, 1 lun per target
[ 556243.806969] sd1 at scsibus1 target 0 lun 0: <RPI, RP2, 3> disk removable
[ 556243.816970] sd1: fabricating a geometry
[ 556243.816970] sd1: 128 MB, 128 cyl, 64 head, 32 sec, 512 bytes/sect x 262144
sectors
[ 556243.826972] sd1: fabricating a geometry

% sudo mount -r -t msdos /dev/sd1e /mnt
% ls -l /mnt
total 8
-r-xr-xr-x  1 root  wheel  241 Sep  5  2008 index.htm
-r-xr-xr-x  1 root  wheel   62 Sep  5  2008 info_uf2.txt

Trying to fsck_msdos fails because:

** /dev/rsd1e
Invalid signature in boot block: 0000

which is probably too pedantic, in particular when msdosfs ignores it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.