devfs
[Top] [All Lists]

Re: modules.devfsd needs /dev/scsi/*/part* handling

To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Subject: Re: modules.devfsd needs /dev/scsi/*/part* handling
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Sun, 27 Jan 2002 17:55:11 -0700
Cc: Thierry Vignaud <tvignaud@xxxxxxxxxxxxxxxx>, devfs mailing list <devfs@xxxxxxxxxxx>
In-reply-to: <1012122959.2553.3.camel@xxxxxxxxxxxxxxxxxxxxx>
References: <1008885491.6464.4.camel@xxxxxxxxxxxxxxxxxxxxx> <200201150628.g0F6SQf06569@xxxxxxxxxxxxxxxxxxxxxxxx> <m21ygrurjk.fsf@xxxxxxxxxxxxxxxxxxxxxx> <200201152319.g0FNJ5S20314@xxxxxxxxxxxxxxxxxxxxxxxx> <m2g057tbsz.fsf@xxxxxxxxxxxxxxxxxxxxxx> <200201152353.g0FNr5j21148@xxxxxxxxxxxxxxxxxxxxxxxx> <1011209242.4046.5.camel@xxxxxxxxxxxxxxxxxxxxx> <200201210108.g0L18uQ17789@xxxxxxxxxxxxxxxxxxxxxxxx> <m2adv6ijdg.fsf@xxxxxxxxxxxxxxxxxxxxxx> <200201230533.g0N5XYv23380@xxxxxxxxxxxxxxxxxxxxxxxx> <1012122959.2553.3.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Borsenkow Andrej writes:
> On óÒÄ, 2002-01-23 at 08:33, Richard Gooch wrote:
> > I'd first like to establish that this will actually work. Someone
> > please try this and let me know.
> > 
> 
> Tested once more and it works with supermount as well, media is
> correctly revalidated on media change:
> 
> ppa: Version 2.07 (for Linux 2.4.x)
> ppa: Found device at ID 4, Attempting to use EPP 32 bit
> ppa: Communication established with ID 4 using EPP 32 bit
> scsi0 : Iomega VPI0 (ppa) interface
>   Vendor: iomega    Model: jaz 2GB           Rev: E.17
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> Attached scsi removable disk sda at scsi0, channel 0, id 4, lun 0
> SCSI device sda: 3915600 512-byte hdwr sectors (2005 MB)
> sda: Write Protect is off
>  /dev/scsi/host0/bus0/target4/lun0: p4
> Unable to identify CD-ROM format.
> FAT: bogus logical sector size 0
> VFS: Can't find a valid FAT filesystem on dev 08:04.
> FAT: bogus logical sector size 0
> VFS: Can't find a valid FAT filesystem on dev 08:04.
> SCSI device sda: 2091050 512-byte hdwr sectors (1071 MB)
> sda: Write Protect is off
>  /dev/scsi/host0/bus0/target4/lun0: p4
> Unable to identify CD-ROM format.
> FAT: bogus logical sector size 0
> VFS: Can't find a valid FAT filesystem on dev 08:04.
> FAT: bogus logical sector size 0
> VFS: Can't find a valid FAT filesystem on dev 08:04.
> 
> Here is current devfsd.conf addition I am using:
> 
> # When removable media is (programmatically) ejected nodes for
> # individual partitions are unregistered and if you have enabled
> # RM(OLD|NEW)COMPAT actions links that point to them are removed.
> # Unfortunately when you insert media and try to access it using
> # any of these links there is nothing that tells the kernel to refresh
> # partition table. To force refresh you may use something like this:
> # SCSI NEWCOMPAT
> LOOKUP                ^(sd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$      EXECUTE 
> /bin/dd if=$mntpnt/\1 of=/dev/null count=1
> # SCSI OLDCOMPAT
> LOOKUP                ^(sd[a-z]+)[0-9]+$      EXECUTE /bin/dd if=$mntpnt/\1 
> of=/dev/null count=1
> # IDE NEWCOMPAT
> LOOKUP                ^(ide/hd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$  EXECUTE 
> /bin/dd if=$mntpnt/\1 of=/dev/null count=1
> # IDE OLDCOMPAT
> LOOKUP                ^(hd[a-z])[0-9]+$       EXECUTE /bin/dd if=$mntpnt/\1 
> of=/dev/null count=1

OK, I've grabbed these configuration lines. I assume that this issue
is now closed?

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>