Re: devfs.conf & usb-thumbdrives.
From: Julien Gabel (jpeg_at_thilelli.net)
Date: 08/30/05
- Previous message: Brooks Davis: "Re: devfs.conf & usb-thumbdrives"
- In reply to: Rainer Duffner: "devfs.conf & usb-thumbdrives"
- Next in thread: Rainer Duffner: "Re: devfs.conf & usb-thumbdrives."
- Reply: Rainer Duffner: "Re: devfs.conf & usb-thumbdrives."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Aug 2005 00:25:39 +0200 (CEST) To: "Rainer Duffner" <rainer@ultra-secure.de>
> I recently bought some Samsung USB-stick:
> umass0: 0 USB DRIVE, rev 2.00/2.00, addr 2
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: < USB DRIVE 2.00> Removable Direct Access SCSI-2 device
> da0: 40.000MB/s transfers
> da0: Attempt to query device size failed: UNIT ATTENTION, Not ready to
> ready change, it 1 GB.
>
> I created a devfs.conf-entry like this:
> lbe# egrep da0 /etc/devfs.conf
> perm da0 770
> perm da0s1 770
>
> but the permissions are still like this:
> lbe# ll /dev/da0*
> crw-r----- 1 root operator 11, 112 29 Aug 23:13 /dev/da0
> crw-r----- 1 root operator 11, 115 30 Aug 00:15 /dev/da0s1
>
> I first need to restart devfs:
> lbe# /etc/rc.d/devfs restart
> lbe# ll /dev/da0*
> crwxrwx--- 1 root operator 11, 112 29 Aug 23:13 /dev/da0
> crwxrwx--- 1 root operator 11, 115 29 Aug 23:13 /dev/da0s1
>
> Why does it ignore these settings until a restart of the service?
For devices not available at boot time, you must prefer devfs.rules(5).
-- -jpeg. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Brooks Davis: "Re: devfs.conf & usb-thumbdrives"
- In reply to: Rainer Duffner: "devfs.conf & usb-thumbdrives"
- Next in thread: Rainer Duffner: "Re: devfs.conf & usb-thumbdrives."
- Reply: Rainer Duffner: "Re: devfs.conf & usb-thumbdrives."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]