Loading ...
Sorry, an error occurred while loading the content.

Missing /dev/disk directory!

Expand Messages
  • Elias
    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
    Message 1 of 5 , Nov 8, 2009
    View Source
    • 0 Attachment
      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?
    • Mike Westerhof
      All disk device nodes are in /dev - there is no need for the extra directory level. -Mike (mwester) Sent via BlackBerry by AT&T ... From: Elias
      Message 2 of 5 , Nov 8, 2009
      View Source
      • 0 Attachment
        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
      • Elias
        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,
        Message 3 of 5 , Nov 8, 2009
        View Source
        • 0 Attachment
          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
          >
        • Mike Westerhof
          ... The mount command can mount a filesystem by either UUID or label. If your particular SlugOS version doesn t support that, then you may have to upgrade to
          Message 4 of 5 , Nov 8, 2009
          View Source
          • 0 Attachment
            Elias wrote:
            > Then perhaps my question should be a different one.
            >
            ...
            > 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?
            The mount command can mount a filesystem by either UUID or label. If
            your particular SlugOS version doesn't support that, then you may have
            to upgrade to a more recent version - but see what options are supported
            by the mount command first.

            Note that the "pseudo-auto-mounter" on SlugOS systems (which is a udev
            script that mounts a disk on /media/sd<something>) will usually get in
            the way when you do this. You'll probably want to disable that. Add
            "sd*" to the blacklist file located somewhere in the /etc/udev directory.

            -Mike (mwester)
          • Elias
            Thanx Mike! blkid and mount -L were all the tools I needed after all..
            Message 5 of 5 , Nov 10, 2009
            View Source
            • 0 Attachment
              Thanx Mike! blkid and mount -L were all the tools I needed after all..

              --- In nslu2-linux@yahoogroups.com, Mike Westerhof <mwester@...> wrote:
              >
              > Elias wrote:
              > > Then perhaps my question should be a different one.
              > >
              > ...
              > > 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?
              > The mount command can mount a filesystem by either UUID or label. If
              > your particular SlugOS version doesn't support that, then you may have
              > to upgrade to a more recent version - but see what options are supported
              > by the mount command first.
              >
              > Note that the "pseudo-auto-mounter" on SlugOS systems (which is a udev
              > script that mounts a disk on /media/sd<something>) will usually get in
              > the way when you do this. You'll probably want to disable that. Add
              > "sd*" to the blacklist file located somewhere in the /etc/udev directory.
              >
              > -Mike (mwester)
              >
            Your message has been successfully submitted and would be delivered to recipients shortly.