[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #45335] Can't access parent directory on FAT when it's the filesyst
From: |
Max Zerzouri |
Subject: |
[bug #45335] Can't access parent directory on FAT when it's the filesystem root |
Date: |
Tue, 16 Jun 2015 23:31:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?45335>
Summary: Can't access parent directory on FAT when it's the
filesystem root
Project: GNU GRUB
Submitted by: maxdamantus
Submitted on: Tue 16 Jun 2015 11:31:22 PM GMT
Category: None
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Max Zerzouri
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release:
Release: Git master
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
The special `..` and `.` filenames behave strangely on FAT when dealing with
the root directory. Particularly, it seems to be impossible to traverse to
the
root given a non-root path without something like a `regexp` hack to extract
the device identifier:
grub> ls (hd1,gpt2)/
grub/ efi/ vmlinuz initramfs.gz NvVars
grub> ls (hd1,gpt2)/grub
i386-pc/ locale/ themes/ fonts/ grub.cfg grubenv
grub> ls (hd1,gpt2)/grub/..
grub> ls (hd1,gpt2)/grub/i386-pc/..
i386-pc/ locale/ themes/ fonts/ grub.cfg grubenv
grub> ls (hd1,gpt2)/..
error: file `/..' not found.
grub> ls (hd1,gpt2)/.
error: file `/.' not found.
grub> ls (hd1,gpt2)/grub/.
i386-pc/ locale/ themes/ fonts/ grub.cfg grubenv
As shown, accessing `.` from the root also doesn't work (it works on other
directories in FAT and on roots of other filesystems (at least squashfs and
ext)). This might be related, but it seems less important and could just be a
usability issue.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45335>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #45335] Can't access parent directory on FAT when it's the filesystem root,
Max Zerzouri <=