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: unneeded devices in docked.lua?, devpts and swap< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 06 2006,05:09 QUOTE

Should /dev/pts and swap partition(s) be ignored in mount_common.lua?
I don't recall seeing them prior to DSL 3.1, but I had not been using the mount app so maybe they were always there.  I don't think there's any reason for them to be listed in the available mounts.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: Nov. 06 2006,06:38 QUOTE

I was looking at the way the mount wm works to add my cdrom to be there regardless if it was in use or not (hd installed) and as of 2.4 I remember it only looks for any drive that listed inside the /mnt/ folder. Since the hd install kept wanting to mount the cd as /cdrom instead of /mnt/cdrom, it wouldn't add it to the mount wm. I just included it in a special file and made the script read that file as well (The script creates a file inside the tmp folder with the output of a grep command, listing the drives to create the mount wm.) A small static file with "/cdrom" and a change to the script to cat the file did what i needed to do.

So unless the mount script/mount wm were removed from 3.1 and fluxbox, then they shouldn't show on the wm at all.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 06 2006,14:49 QUOTE

I'm not sure exactly what you're saying, but it seems like you're telling me that I shouldn't be seeing these devices listed.

I haven't looked far into mount_common, so I'm not sure exactly what it's doing, but at first glance it appears that it's using everything that includes /dev/ and dropping everything that includes a comment.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Nov. 06 2006,15:41 QUOTE

Afaik he's talking about a traditional hd-install... cause the frugal mounts the dsl image on /cdrom by default.

I remember that a certain version of the 'newer' mount .lua tool does look in /mnt ...  using a symlink or editing fstab or editing the script itself were solutions.

Back at the topic at hand, I agree that those should be filtered out - my only guess is that the mount tool script was changed to not just look in /mnt
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 06 2006,16:25 QUOTE

If this discussion is on the mount.lua in RC2, a release candidate issue, it has been tweaked for RC3.
Back to top
Profile PM WEB 
5 replies since Nov. 06 2006,05:09 < 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: unneeded devices in docked.lua?

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