SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
if I dont set HAL at start up, and then go on to slot a memory card into the reader after boot, the system wont pick it up (DBUS?)
but when I put a usb pen drive directly into a usb slot after boot. the system (DBUS) does pick it up.
going back to the card reader, is this because DBUS is only seeing the cardreader itself and not the memory slots?
so HAL is needed to monitor the card reader slots for input of a memory card and pass that info onto DBUS?
DBUS isn't "picking up" anything - it's udev. The kernel generates uevents that udev receives, which then passes them to hal, which then does something (or not) with them by communicating over a message bus (DBUS).
In other words, it's the kernel you should be concerned with, not dbus (which is out of the picture entirely since you don't have hal running).
It sounds like you're on 12.0 since this isn't handled automatically - try running the /etc/rc.d/rc.scanluns script after inserting a card in the cardreader, and it should work. On 12.1, this isn't needed (and in fact, the rc.scanluns file is not present), as the kernel is configured to handle this automatically.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
Hi
I was wondering, how do I change HAL's default mount settings... I would like to use the fmask/dmask/gid that for e.g is shown in http://slackwiki.org/NTFS-3G
I really don't like mounting drives with rwxrwxrwx root:root , I want it to mount as rw-rw-r-- and user:users
Any idea how I can force hal to do that for all NTFS/FAT devices ?
HI. I have a problem with hal. I has slack 12.1 with hal working perfectly, but now, I've upgraded to 12.2 with slackpkg and hal just doesn't work any more. I'm usin KDE 3.5.10 now (3.5.9 before). Is this common? I suppose that is some new configuration file the problem but i have no idea which one can be. GoodBye!
6. Fix your config files. Some of the config files in /etc are going to
need your attention. You'll find the new incoming config files on
your system with the ".new" extension. You may need to fill these in
with information from your old config files and then move them over.
Feel brave? You can use this little script to install most of the
.new config files in /etc. If you've made any local changes you'll
need to add them to the newly installed files. Your old config files
will be copied to *.bak. Anyway, it might be an easier starting
point. Here it is:
#!/bin/sh
cd /etc
find . -name "*.new" | while read configfile ; do
if [ ! "$configfile" = "./rc.d/rc.inet1.conf.new" \
-a ! "$configfile" = "./rc.d/rc.local.new" \
-a ! "$configfile" = "./group.new" \
-a ! "$configfile" = "./passwd.new" \
-a ! "$configfile" = "./shadow.new" ]; then
cp -a $(echo $configfile | rev | cut -f 2- -d . | rev) \
$(echo $configfile | rev | cut -f 2- -d . | rev).bak 2> /dev/null
mv $configfile $(echo $configfile | rev | cut -f 2- -d . | rev)
fi
done
Last edited by gegechris99; 12-17-2008 at 09:26 AM.
HI. I have a problem with hal. I has slack 12.1 with hal working perfectly, but now, I've upgraded to 12.2 with slackpkg and hal just doesn't work any more. I'm usin KDE 3.5.10 now (3.5.9 before). Is this common? I suppose that is some new configuration file the problem but i have no idea which one can be.
I suspect that you didn't *fully* upgrade to 12.2. Did you follow slackpkg's instructions? In other words, did you do "slackpkg install-new" first? If not, then you don't have parted installed, and that's at least part of the problem.
I was wondering, how do I change HAL's default mount settings... I would like to use the fmask/dmask/gid that for e.g is shown in http://slackwiki.org/NTFS-3G
I really don't like mounting drives with rwxrwxrwx root:root , I want it to mount as rw-rw-r-- and user:users
Any idea how I can force hal to do that for all NTFS/FAT devices ?
Slackware 12.1 btw,
You can create a mount script for a specific filesystem:
In here I "recommend" the fmask and dmask options, and "force" the codepage and shortname options.
Drawback: The "user" and "users" options in fstab will no longer work. If you need them, create a suid binary program instead of a script, and switch your identity to root before calling /sbin/mount.
I have unstuck this thread - huge numbers of people are now on 12.1/2 or current or even the 64bit version. For those who aren't yet, either this thread was helpful and you no longer have the issue or you don't care any more
Unsticking this thread isn't a bad idea. I'd like to see this thread updated a bit for newer versions of Slackware. Or, at least, for the information to make it to the Slackbook.
Drew,
Pretty much all of the needed information is now in CHANGES_AND_HINTS.TXT, so I personally don't think this thread (or an equivalent) is needed any more.
Drew,
Pretty much all of the needed information is now in CHANGES_AND_HINTS.TXT, so I personally don't think this thread (or an equivalent) is needed any more.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.