Results 1 to 3 of 3

Thread: Upper case and lower case, NTFS and FAT32

  1. #1
    Member registered user
    Join Date
    Dec 2006
    Posts
    50

    Upper case and lower case, NTFS and FAT32

    On my NTFS filesystem I have a directory called Windows, not WINDOWS. If I
    mount -t ntfs -o rw /dev/hda1 /c
    then
    ls /c/Windows
    lists files as required and
    ls /c/WINDOWS
    returns an error message, no such directory.

    But: on my FAT32 filesystem I have a directory called WINDOWS, not Windows. If I
    mount -t vfat -o posix,shortname=winnt /dev/hda1 /c
    then
    ls /c/Windows
    lists all the files under /c/WINDOWS, as does
    ls /c/WINDOWS

    This is very annoying. I have played with every possible variation on options to -t vfat including shortname=mixed, etc. Can anybody tell me what options to -t vfat provide a foolproof distinction between lower case and upper case? (ie. will return an error message when any attempt is made to address a directory or file with casename errors)?

    Thank you

  2. #2
    Junior Member
    Join Date
    Oct 2007
    Posts
    8
    I suspect that since "Windows" is less than eight characters, there is no long file name associated with it on the FAT32 drive and therefore no case information associated with it.

  3. #3
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    The first thing to note is that your mount point is /c

    mount -t ntfs -o rw /dev/hda1 /c


    You should therefore just list /c
    i.e.

    ls /c

    this will give you all drive contents then you can do
    cd /c/Windows

    However why not open your home folder and in the location bar type /c this why you
    have a graphical why to manipulate your files without having to type upper or lower
    case names.

    For permanent mounting create an entry in /etc/fstab
    Example

    /dev/hda1 ntfs-3g /mnt/winxp defaults,noauto,users 0 0

    uses the ntfs-3g library with write capability to mount your windows NTFS partition.
    It is not mounted at boot (noauto) but can be mounted simply by using kwikdisk
    (if you use KDE)
    HTH

Similar Threads

  1. mount of vfat device not case aware ...
    By Albretch in forum General Support
    Replies: 0
    Last Post: 11-21-2005, 05:00 PM
  2. windows registry editor just in case.
    By kevstar31 in forum Ideas
    Replies: 2
    Last Post: 10-15-2004, 09:09 AM
  3. Recommend 2.5" USB HD case?
    By arpha in forum Hardware & Booting
    Replies: 0
    Last Post: 05-26-2004, 02:34 AM
  4. Konqueror upper case
    By dougvega in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 07-26-2003, 09:24 PM
  5. NTFS vs. FAT32
    By A. Jorge Garcia in forum Hdd Install / Debian / Apt
    Replies: 9
    Last Post: 03-17-2003, 09:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


PfSense/OPNsense 6x1Gb, Quad Core, 8GB, 128GB SSD, AES-NI, QAT (Lanner FW-7525D) picture

PfSense/OPNsense 6x1Gb, Quad Core, 8GB, 128GB SSD, AES-NI, QAT (Lanner FW-7525D)

$85.00



OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN picture

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN

$248.00



Firewalla Purple Gigabit Firewall  Router  Factory Reset  Excellent Cond G2U picture

Firewalla Purple Gigabit Firewall Router Factory Reset Excellent Cond G2U

$245.00



Ubiquiti UniFi Security Gateway USG 3-Port Gigabit Router Firewall VPN Untested picture

Ubiquiti UniFi Security Gateway USG 3-Port Gigabit Router Firewall VPN Untested

$35.00



OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN picture

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN

$145.00



Fortinet FortiGate FortiWiFi 80F Network Security Firewall (FG-80F) picture

Fortinet FortiGate FortiWiFi 80F Network Security Firewall (FG-80F)

$73.49



10GbE OPNsense Firewall VPN AES QAT 4-Core Atom C3558 2.20GHz 8GB DDR4 128GB SSD picture

10GbE OPNsense Firewall VPN AES QAT 4-Core Atom C3558 2.20GHz 8GB DDR4 128GB SSD

$165.00



PfSense/OPNsense - 2x1Gb, 4x2.5Gb, 2x10Gb, C3558, 4GB, 128GB NVMe, AES-NI, QAT picture

PfSense/OPNsense - 2x1Gb, 4x2.5Gb, 2x10Gb, C3558, 4GB, 128GB NVMe, AES-NI, QAT

$259.00



Cisco ASA 5506-X Network Security Firewall Appliance- No Adapter picture

Cisco ASA 5506-X Network Security Firewall Appliance- No Adapter

$50.00



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00