Sponsored Content
Top Forums UNIX for Dummies Questions & Answers WebDav/davfs mounted file & directory names in all UPPERCASE Post 302279393 by MrMoney on Thursday 22nd of January 2009 04:08:12 PM
Old 01-22-2009
WebDav/davfs mounted file & directory names in all UPPERCASE

Hey,

I have a WebDav directory mounted and everything seems fine except for one thing. All file/directory names appear in all UPPERCASE, when in actual fact they are lowercase on the remote machine.

For example:
foo/bar/baz.html on the remote host, appears on my local machine as
FOO/BAR/BAZ.HTML
I can open and edit the file fine, but when I save it, it is renamed on the remote host as
foo/bar/BAZ.HTML
which subsequently breaks an references to that file being made elsewhere.

I am not sure what I am doing wrong, as this is my first experience with WebDav. I am using davfs to mount the directory as a normal user.

Any help is greatly appreciated

Thanks in advance
Mike

Last edited by MrMoney; 01-22-2009 at 05:08 PM.. Reason: typo
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how many directory can be mounted on one file system

I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Discussion started by: duke0001
4 Replies

2. Programming

Not able to use NFS mounted directory as buffer for untar & unzip.

Hi, For a new requirement, we are trying to use NFS mounted directory as the buffer (TMP_DIR) for untar. Target OS- VxWorks Host OS - Windows Embedded. mounted a directory in wondows onto VxWorks. During untar process of GNU we come across utime, for chaning the time stamp of the... (0 Replies)
Discussion started by: suraj.bc
0 Replies

3. Shell Programming and Scripting

Finding & Moving Oldest File by Parsing/Sorting Date Info in File Names

I'm trying to write a script that will look in an /exports folder for the oldest export file and move it to a /staging folder. "Oldest" in this case is actually determined by date information embedded in the file names themselves. Also, the script should only move a file from /exports to... (6 Replies)
Discussion started by: nikosey
6 Replies

4. UNIX for Dummies Questions & Answers

How can I sort the file names in the directory

Hi , I have a list of files in the directory I want to sort based on the file name. But in the middle of filename contains the number based on that I need to sort.Could you suggest me on the same? Example filenames: /user1$ls RS.DEV.ISV.F1.RS.REFDATA.DATA... (1 Reply)
Discussion started by: praveen.thumati
1 Replies

5. Shell Programming and Scripting

Searching for file names in a directory while ignoring certain file names

Sun Solaris Unix Question Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Discussion started by: 2reperry
2 Replies

6. Shell Programming and Scripting

How to read file names in the directory?

I am having n files in a directory i want to read all the file names from the script file .It is better if any one provide a sample script. Elaborating the scenario: i am having n number of sql files in a directory i am running all the sql files from a single script. sqlplus... (4 Replies)
Discussion started by: dineshmurs
4 Replies

7. Shell Programming and Scripting

Grepping file names, comparing them to a directory of files, and moving them into a new directory

got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies

8. Shell Programming and Scripting

How to find all files which has names in uppercase in a directory

i want to display all the files which has their names in the Uppercase in a particular directory...guide.. (6 Replies)
Discussion started by: sheelsadan
6 Replies

9. Shell Programming and Scripting

Directory / File changes on CIFS share mounted on Red Hat Linux

I have a requirement to copy the changed file on CIFS share mounted on Red Hat Linux to a remote FTP/SFTP server. I tried inotify-tools, but this didn't track the modified files. Has anyone tried incron or any other suggestion? (1 Reply)
Discussion started by: SupeAlok
1 Replies

10. Shell Programming and Scripting

File Move & Sort by Name - Kick out Bad File Names & More

I have a dilemma, we have users who are copying files to "directory 1." These images have file names which include the year it was taken. I need to put together a script to do the following: Examine the file naming convention, ensuring it's the proper format (e.g. test-1983_filename-123.tif)... (8 Replies)
Discussion started by: Nvizn
8 Replies
hsfs(7FS)							   File Systems 							 hsfs(7FS)

NAME
hsfs - High Sierra & ISO 9660 CD-ROM file system DESCRIPTION
HSFS is a file system type that allows users access to files on High Sierra or ISO 9660 format CD-ROM disks from within the SunOS operat- ing system. Once mounted, a HSFS file system provides standard SunOS read-only file system operations and semantics. That is, users can read files and list files in a directory on a High Sierra or ISO 9660 CD-ROM, and applications can use standard UNIX system calls on these files and directories. This file system also contains support for the Rock Ridge Extensions. If the extensions are contained on the CD-ROM, then the file sys- tem will provide all of the file system semantics and file types of UFS, except for writability and hard links. If your /etc/vfstab file contains a line similar to /dev/dsk/c0t6d0s0 -/hsfs hsfs -no ro and /hsfs exists, you can mount an HSFS file system with either of the following commands: mount -F hsfs -o ro device-special directory-name or mount /hsfs Normally, if Rock Ridge extensions exist on the CD-ROM, the file system will automatically use those extensions. If you do not want to use the Rock Ridge extensions, use the ``nrr'' (No Rock Ridge) mount option. The mount command would then be: mount -F hsfs -o ro,nrr device-special directory-name Files on a High Sierra or ISO 9660 CD-ROM disk have names of the form filename.ext;version, where filename and the optional ext consist of a sequence of uppercase alphanumeric characters (including ``_''), while the version consists of a sequence of digits, representing the version number of the file. HSFS converts all the uppercase characters in a file name to lowercase, and truncates the ``;'' and version information. If more than one version of a file is present on the CD-ROM, only the file with the highest version number is accessible. Conversion of uppercase to lowercase characters may be disabled by using the -o nomaplcase option to mount(1M). (See mount_hsfs(1M)). If the CD-ROM contains Rock Ridge extensions, the file names and directory names may contain any character supported under UFS. The names may also be upper and/or lower case and will be case sensitive. File name lengths can be as long as those of UFS. Files accessed through HSFS have mode 555 (owner, group and world readable and executable), uid 0 and gid 3. If a directory on the CD-ROM has read permission, HSFS grants execute permission to the directory, allowing it to be searched. With Rock Ridge extensions, files and directories can have any permissions that are supported on a UFS file system; however, despite any write permissions, the file system is read-only, with EROFS returned to any write operations. High Sierra and ISO 9660 CD-ROMs support only regular files and directories, thus HSFS supports only these file types. A Rock Ridge CD-ROM can support regular files, directories, and symbolic links, as well as device nodes, such as block, character, and FIFO. EXAMPLES
Example 1: Sample Display of File System Files If there is a file BIG.BAR on a High Sierra or ISO 9660 format CD-ROM it will show up as big.bar when listed on a HSFS file system. If there are three files BAR.BAZ;1 BAR.BAZ;2 and BAR.BAZ;3 on a High Sierra or ISO 9660 format CD-ROM, only the file BAR.BAZ;3 will be accessible. It will be listed as bar.baz. SEE ALSO
mount(1M), mount_hsfs(1M), vfstab(4) N. V. Phillips and Sony Corporation, System Description Compact Disc Digital Audio, ("Red Book"). N. V. Phillips and Sony Corporation, System Description of Compact Disc Read Only Memory, ("Yellow Book"). IR "Volume and File Structure of CD-ROM for Information Interchange", ISO 9660:1988(E). DIAGNOSTICS
hsfs: Warning: the file system... does not conform to the ISO-9660 spec The specific reason appears on the following line. You might be attempting to mount a CD-ROM containing a different file system, such as UFS. hsfs: Warning: the file system... contains a file [with an] unsupported type The hsfs file system does not support the format of some file or directory on the CD-ROM, for example a record structured file. hsfs: hsnode table full, %d nodes allocated There are not enough HSFS internal data structure elements to handle all the files currently open. This problem may be overcome by adding a line of the form set hsfs:nhsnode=number to the /etc/system system configuration file and rebooting. See system(4). WARNINGS
Do not physically eject a CD-ROM while the device is still mounted as a HSFS file system. Under MS-DOS (for which CD-ROMs are frequently targeted), files with no extension may be represented either as filename. or filename that is, with or without a trailing period. These names are not equivalent under UNIX systems. For example, the names BAR. and BAR are not names for the same file under the UNIX system. This may cause confusion if you are consulting documentation for CD-ROMs originally intended for MS-DOS systems. Use of the -o notraildot option to mount(1M) makes it optional to specify the trailing dot. (See mount_hsfs(1M)). NOTES
No translation of any sort is done on the contents of High Sierra or ISO 9660 format CD-ROMs; only directory and file names are subject to interpretation by HSFS. SunOS 5.10 25 Apr 1994 hsfs(7FS)
All times are GMT -4. The time now is 09:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy