Re: [Thinstation-developer] RC4: Worries about USB mount point scheme
Brought to you by:
doncuppjr
From: S. J. v. H. <sv...@dd...> - 2007-12-23 11:19:46
|
On Sun, 2007-12-23 at 22:08 +1100, TrevorB wrote: > On Sun, 2007-12-23 at 11:55 +0200, Mike Eriksen wrote: > > On Dec 23, 2007 8:32 AM, TrevorB <tre...@us...> w= rote: > > > On Sat, 2007-12-22 at 22:17 +0200, Mike Eriksen wrote: > > > > I've been fighting for a few hours to get RC4 to read my > > > > thinstation.conf.user from my USB stick. I haven't done this for a > > > > long while, so the problem may have existed in the previous RCs as > > > > well. > > > > > > The last usb change just looked at changing the -t (type) part of the > > > mount and didn't try to play with the devices etc. > > > > > > > > The problem: > > > > My stick is mounted as /mnt/usbdevice/sda1 and works nicely. Can re= ad > > > > and write from/to it just fine. Hence my ts.conf.buildtime has set > > > > STORAGE_PATH=3D/mnt/usbdevice/sda1 But I failed to make it host > > > > /thinstation.profile/thinstation.user. > > > > > > > > After bumbing up the verbose level and reading the log file, I > > > > realized it - during boot - looked at the stick as /dev/sdb! As doe= s > > > > Debian if I let this one boot the same computer. At this time, I ha= d > > > > mounted the stick in the right front USB slot. Now I just moved it = to > > > > the left slot - et viol=C3=A1 - it works! > > > > > > > > I find it very worryingly that > > > > 1) each slot seems to have its own device name, > > > Same as debian etc.? > > > > > > > 2) that RC4 doesn't follow the same naming convention at least. > > > Confused. Which convention (ie. should it mount them as a different > > > device or should it always pick the first)? Personally it should crea= te > > > a /mnt/usbdevice/<disk/partition name> or if it can't find a disk nam= e, > > > then /mnt/usbdevice/<device>...... > > > > > > What happens on 2.2 (which is using the same kernel)? > >=20 > > Well, it could easily just be me who is confused, but I had no idea > > that two front USB slots would be assigned to two different /dev/sdX. > >=20 > > The question is then: is it smart that TS names the device > > /mnt/usbdevice/sda# regardless if the devices is /dev/sda or /dev/sdb > > or... >=20 > I don't think so... >=20 > If we could put a few more smarts in there to name it according to the > Volume name if it exists (which only does on a few of my devices) or > maybe use something more generic (my openSUSE 10.2 just names them disk, > disk-1, disk-2 if they don't have any volume info), then that might be > smarter - and a little more predictable. When I test this on a Ubuntu workstation, the USB-stick always gets the same /dev/sdX assigned to it. No matter which of the four available USB slots is used. So I don't think that it should use a different /dev/sdX for every slot. I think it should use the first one available and move on from there. >=20 > Anyway, it's not something that we should be playing with for 2.2.1 (I > don't think). As I think a little bit about this, I seem to remember noticing this behavior with 2.2 also. So indeed maybe it's better to look at in 2.3. Sander >=20 > Trevor B > >=20 > > Maybe this is only a problem when reading the profile from a USB > > stick, but it certainly fooled me. > >=20 > > Merry Christmas! > >=20 > > Mike > >=20 > > > > > > Trevor B > > > > > > > > > > > Hardware: VIA Epia MS10000. > > > > > > > > Mike > > > > > > > >=20 > >=20 > >=20 >=20 >=20 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Thinstation-developer mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-developer |