Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Having some trouble getting Samba to properly display directory names for a DOS machine. Basically, I have a few old DOS 6.2 boxes mapped to a Samba box to drop some files into. The folder name on the Samba box is filerouter. Under the normal DOS filename structure, I would assume the name would be adjusted to filerou~1, or something similar, to fit with the 8.3 standard. Instead, I'm getting something very strange like FF8DZ9~C. I've been trying to find out if there is any way I can control this, or get Samba to properly display the directory name under DOS, but so far I haven't had much luck. I did try playing around a bit with the 'mangled names' option in the smb.conf file. If I force mangled names to be turned off, then I can't see any folders at all unless I create them from DOS. Although when I do it that way, I get something like FILEROUT as the name, with no tilde character. We have a bunch of scripts set up looking for the folder name to include the ~ in the path, so I'm hoping there is a way to get this set up properly. Anyone have any advice?
BTW, the Linux box is running Fedora Core 1 with all the latest updates installed.
Samba dosen't store files with 8.3 name standard but creates the names dynamically when clients connect.
You can configure how Samba should create names.
mangled names = Yes
turns on 8.3 name format which should be default setting.
Linux only adds a ~ when there are duplicates of the file/directory name. Think this is the way DOS works as well.
I was under the impression that mangled names was already enabled by default, which is partially why I'm getting this strange, cryptic folder listing. I did manually put it in my smb.conf file though, and I'm still getting the same results. That is, when looking at the folder listing from the Linux box itself, or from a Windows box, the folder name shows up as Filerouter. When I look at the folder name from a DOS box using the DIR command, it shows up as FF8DZ9~C. So, it is truncating it down to 8 characters.. it's just not keeping any of the original name. Instead, it's assigning it some completely different name. I don't see how this could be used if I had more than 1 or 2 folder that had names longer than 8 characters, as I'd never know which folder was which.
So, all I'm really hoping to do is keep the folder name the same so my non-DOS machines can still see it, but also have the DOS boxes see it properly as well with a shorter name.