Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: USB boot with toram not working: patch :-)< Next Oldest | Next Newest >
~thc Offline





Group: Members
Posts: 42
Joined: Dec. 2005
Posted: Jan. 12 2006,18:48 QUOTE

no. the 'mount' command executed in linuxrc is actually a builtin command of the ash shell - you may try '/bin/mount' instead.
Back to top
Profile PM 
doegox Offline





Group: Members
Posts: 3
Joined: Jan. 2006
Posted: Jan. 13 2006,09:56 QUOTE

BTW I found this post discussing the same issue:
http://damnsmalllinux.org/cgi-bin....;t=3982

It is amazing that one year later, the problem seems not to have been fixed :(

Ok, /bin/mount would be better but it is not available from minirt24 to mount the stick.
So I tried to do a remount with /bin/mount before the copy (here without variable:)
/bin/mount -t vfat -o remount,ro,shortname=mixed /dev/sda1 /cdrom
It did not give errors on remounting but it does not change the lowercase of knoppix/knoppix to uppercase yet.

Any other idea?

So far, these are the options:
- mv knoppix KNOPPIX after the copy, quickest but hackyest way and the only one working so far!
- remount from /bin/mount does not change the cases
- implement the shortname=mixed in the static ash? Where to get the sources and exact config of this one?
- just renaming KNOPPIX to knoppix everywhere?

To implement the option in ash.static, I tried to:
- get http://debian-knoppix.alioth.debian.org/sources.....tar.gz
- edit bltin/mount.c line 92 with something like:
//rc=mount(dv,mp,fs,fl,NULL);                                                      
rc=mount(dv,mp,fs,fl,strcmp(fs,"vfat")?NULL:"shortname=mixed");
- but I cannot manage to compile ash.static properly
Could someone else try to rebuild ash.static from the source?

Phil
Back to top
Profile PM 
6 replies since Jan. 11 2006,11:25 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: USB boot with toram not working: patch :-)

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code