Hello,
I'm searching for a mount command which supports -L or -U to be able to mount my USB-stick for pivot root. I'm running Kamikaze 7.09 on a WGT634U, 1x 4Port USB-hub (USB-stick, USB-harddisk, bluetooth, usb-audio). There's no /dev/disc/by-label or by-uuid tree to alternatively mount it that way. Only /dev/sdaX and /dev/sdbX exists, but my harddisk and my stick are randomly assigned to sda and sdb on boot-time. The busybox mount does not support -L or -U (and according to http://www.busybox.net/downloads/BusyBo … item_mount it cannot be configured to support it).
So... is there any way to mount discs by label or create a /dev/disc/by-label tree?
Thanks in advance!
Regards,
EvilDevil
It looks like udev doesn't knows about labels or uuids either.
UEVENT[946685263.314083] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.5_ep81 (usb_endpoint)
UEVENT[946685263.315991] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.5_ep02 (usb_endpoint)
UEVENT[946685263.316417] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.5_ep83 (usb_endpoint)
UEVENT[946685263.316829] remove /class/scsi_device/1:0:0:0 (scsi_device)
UEVENT[946685263.317230] remove /class/scsi_disk/1:0:0:0 (scsi_disk)
UEVENT[946685263.317624] remove /block/sda/sda2 (block)
UEVENT[946685263.318019] remove /block/sda/sda1 (block)
UEVENT[946685263.318408] remove /block/sda (block)
UEVENT[946685263.318996] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/host1/target1:0:0/1:0:0:0 (scsi)
UEVENT[946685263.319409] remove /class/scsi_host/host1 (scsi_host)
UEVENT[946685263.319806] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0 (usb)
UEVENT[946685263.320209] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/usb_endpoint/usbdev1.5_ep00 (usb_endpoint)
UEVENT[946685263.320620] remove /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4 (usb)
UEVENT[946685266.242854] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4 (usb)
UEVENT[946685266.243313] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/usb_endpoint/usbdev1.6_ep00 (usb_endpoint)
UEVENT[946685266.264529] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0 (usb)
UEVENT[946685266.264987] add /class/scsi_host/host2 (scsi_host)
UEVENT[946685266.265627] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep81 (usb_endpoint)
UEVENT[946685266.266049] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep02 (usb_endpoint)
UEVENT[946685266.266467] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/usb_endpoint/usbdev1.6_ep83 (usb_endpoint)
UEVENT[946685271.287586] add /devices/pci0000:00/0000:00:02.2/usb1/1-1/1-1.4/1-1.4:1.0/host2/target2:0:0/2:0:0:0 (scsi)
UEVENT[946685271.292303] add /class/scsi_disk/2:0:0:0 (scsi_disk)
UEVENT[946685271.362152] add /block/sdc (block)
UEVENT[946685271.362586] add /block/sdc/sdc1 (block)
UEVENT[946685271.362975] add /block/sdc/sdc2 (block)
UEVENT[946685271.363364] add /class/scsi_device/2:0:0:0 (scsi_device)
PS:
There are files which are provided by 2 packages:
root@OpenWrt:/# ipkg install libblkid
Installing libblkid (1.39-1) to root...
Downloading http://downloads.openwrt.org/kamikaze/7.09/brcm47xx-2.6/packages/./libblkid_1.39-1_mipsel.ipk
An error ocurred, return value: 2.
Collected errors:
Package libblkid wants to install file /usr/lib/libblkid.so.1
But that file is already provided by package e2fsprogs
Package libblkid wants to install file /usr/lib/libblkid.so.1.0
But that file is already provided by package e2fsprogs
(Last edited by EvilDevil on 23 Dec 2007, 11:28)