#16 Shell globbing fails when floppy is changed

open
nobody
None
5
2004-10-20
2004-10-20
Jussi Pakkanen
No

I'm running Suse 9.1 with the following entry in
/etc/fstab.

/dev/fd0 /media/floppy subfs
fs=floppyfss,procuid,nodev,nosuid,sync 0 0

Usually this works great. I had some disks I wanted to
zip up. I zipped up the first disk, which worked fine.
Then I changed to the second disk and got this:

zip zipfile2 /media/floppy/*
zsh: no matches found: /media/floppy/*
zip zipfile2 /media/floppy/*
adding: media/floppy/file.dat
adding: ...

As you can see the first shell globbing attempt fails,
but the second one succeeds. Doing an ls to the disk
first also works, but direct globbing after a disk
change fails. My shell is zsh.

Discussion