Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13273 closed bug (invalid)

Is not possible to manually enter in Terminal to mounted flash stick without name.

Reported by: Premislaus Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

  1. Plug pendrive, formated with FAT32, without label.
  2. Tracker popup appear. Mount by button. You can enter to mounted flash stick from Trakcer or in Terminal via add-on.
  3. Open Terminal, type df, and volume is just mounted in root!
  4. Try "cd /".
~> df
Mount           Type      Total     Free     Flags   Device
--------------- -------- --------- --------- ------- --------------------------
/boot           bfs          40.0G     34.2G QAM-P-W /dev/disk/scsi/0/0/0/4
/boot/system    packagefs      4.0K      4.0K QAM-P-- 
/boot/home/config 
                packagefs      4.0K      4.0K QAM-P-- 
/               fat          14.5G         0 --M-PR- /dev/disk/usb/0/0/0
~> cd /
/> dir
\   bin  boot  dev  etc  Haiku  packages  system  tmp  var
/>

Via Open Terminal add-on:

/ > dir
eFTE\ instrukcja\ kompilacji               face.png              RECYCLED
eFTE-Haiku-DKK-2017-02-02_20-50-38.tar.xz  NCurses-1.0.1.tar.xz

Change History (3)

comment:1 by Premislaus, 8 years ago

On Linux:

/media/premislaus/9EBD-B7B3

I don't know how to obtain uuid on Haiku. There is no lsblk or fdisk.

comment:2 by jua, 8 years ago

Resolution: invalid
Status: newclosed

It seems your FAT32 volume has the name " ", i.e. a single space character (without the quotes).

Observe how your "dir" inside / shows an entry "\ " which translates to a single space, and the bash prompt when you opened it with the tracker add-on shows "/ >" (notice the extra space before >).

So, entering the directory should work fine if you do e.g. cd "/ " ...or you just give the FAT32 volume a saner name :-)

comment:3 by axeld, 8 years ago

We could trim the name by default to work around this issue; IIRC an empty name is automatically replaced by an automatic name.

Note: See TracTickets for help on using tickets.