Sunday, November 8, 2009

[nslu2-linux] Re: Missing /dev/disk directory!

 



Then perhaps my question should be a different one. On my Ubuntu boxes, I have the directory /dev/disk, containing 4 subdirs called by-id, by-label, by-path, and by-uuid, as such:
.
|-- by-id
| |-- ata-IC25N030ATMR04-0_MRG215KBGHUM5J -> ../../sda
| |-- ata-IC25N030ATMR04-0_MRG215KBGHUM5J-part1 -> ../../sda1
| |-- ata-IC25N030ATMR04-0_MRG215KBGHUM5J-part2 -> ../../sda2
| |-- scsi-1ATA_IC25N030ATMR04-0_MRG215KBGHUM5J -> ../../sda
| |-- scsi-1ATA_IC25N030ATMR04-0_MRG215KBGHUM5J-part1 -> ../../sda1
| |-- scsi-1ATA_IC25N030ATMR04-0_MRG215KBGHUM5J-part2 -> ../../sda2
| |-- usb-WD_1200BEV_External_575843583037353436393937-0:0 -> ../../sdb
| `-- usb-WD_1200BEV_External_575843583037353436393937-0:0-part1 -> ../../sdb1
|-- by-label
| `-- WD\x20Passport -> ../../sdb1
|-- by-path
| |-- pci-0000:00:1d.1-usb-0:2:1.0-scsi-0:0:0:0 -> ../../sdb
| |-- pci-0000:00:1d.1-usb-0:2:1.0-scsi-0:0:0:0-part1 -> ../../sdb1
| |-- pci-0000:00:1f.1-scsi-0:0:0:0 -> ../../sda
| |-- pci-0000:00:1f.1-scsi-0:0:0:0-part1 -> ../../sda1
| |-- pci-0000:00:1f.1-scsi-0:0:0:0-part2 -> ../../sda2
| `-- pci-0000:00:1f.1-scsi-1:0:0:0 -> ../../scd0
`-- by-uuid
|-- 0be54e48-cf61-4121-8341-fba63f49ce79 -> ../../sda1
|-- 692B-6507 -> ../../sdb1
`-- 7a91387d-197c-4b94-ae6a-835b52401be8 -> ../../sda2

What I would like to do on my slug is to mount a partition based on its UUID or label, and without these dirs that seems impossible. Or perhaps there's another way?

--- In nslu2-linux@yahoogroups.com, "Mike Westerhof" <mwester@...> wrote:
>
> All disk device nodes are in /dev - there is no need for the extra directory level.
> -Mike (mwester)
>
> Sent via BlackBerry by AT&T
>
> -----Original Message-----
> From: "Elias" <eliasll@...>
> Date: Sun, 08 Nov 2009 10:29:39
> To: <nslu2-linux@yahoogroups.com>
> Subject: [nslu2-linux] Missing /dev/disk directory!
>
> My slug is missing the /dev/disk folder. It's running OpenSlug (SlugOS) from around 2007. Uname says "2.6.16 #1 PREEMPT Fri Jun 9 07:34:31 PDT 2006 armv5teb unknown".
> What do I do to enable this functionality? Time for an upgrade?
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>

__._,_.___
.

__,_._,___

No comments:

Post a Comment