Mounting CIFS file systems at boot with Slackware 12.0
I have been converting the mounts on my Samba servers from smbfs file systems to cifs file systems as the smbfs file system is now deprecated. The smbfs file systems could be automatically mounted at boot time, but after conversion to cifs they are not automatically mounted at boot. After boot a simple "mount -a" fixes things.
To get the cifs file systems to be automatically recognised at boot, I have found that I need to add this code to /etc/rc.d/rc.inet2 after the code to mount remote SMB filesystems. Code:
# Mount remote (CIFS) filesystems: |
Did you have a particular question about SMB/CIFS shares, or were you just sharing your solution with us? :)
|
I'm guessing there is no question here, just a comment about CIFS not being automatically mounted by default in Slackware.
|
Fair enough.
Is this a problem with other distributions, by any chance? I can't test it out right now (as I'm at work), but also the fact that my SMBFS shares at home have never given me any issues, so why mess with stability (aside from the obvious entertainment that could ensue:))? I didn't know smbfs was deprecated, though. |
Sorry,
I should have it made it clear that this was just a comment. |
It's all good. :D
Perhaps you should submit this to the Linux Answers section? |
Quote:
Eric |
All times are GMT -5. The time now is 07:47 AM. |