A Curious Problem (seemingly resolved, thankfully, but still.....)

Frans Ketelaars ketelaars at wanadoo.nl
Wed Nov 24 11:32:43 UTC 2010


On Wed, 24 Nov 2010 05:10:06 -0500, Nathan Bahn wrote:

> On Tue, Nov 23, 2010 at 10:05 PM, Mark <mhullrich at gmail.com> wrote:
> [...]
> 
>> A mount point is just a directory.  What M.S. was saying is that
>> perhaps you wrote to the (mount point) directory without mounting the
>> partition.  In that case, the mount point will be treated as a normal
>> directory that can have files stored in it, like all directories can.
>>
>> However, when you mount a device to a mount point (directory), whatever
>> was in that directory is hidden under whatever you mounted on top of
>> it.
>>
>> E.g.:
>>
>> ~$ ls /boot
>> config-2.6.9-89.EL
>> config-2.6.9-89.ELlargesmp
>> grub/
>> initrd-2.6.9-89.EL.img
>> initrd-2.6.9-89.ELlargesmp.img
>> lost+found/
>> memtest86+-1.26
>> message
>> message.ja
>> symvers-2.6.9-89.EL.gz
>> symvers-2.6.9-89.ELlargesmp.gz
>> System.map-2.6.9-89.EL
>> System.map-2.6.9-89.ELlargesmp
>> vmlinuz-2.6.9-89.EL
>> vmlinuz-2.6.9-89.ELlargesmp
>> ~$ mount /dev/sdb5 /boot
>> ~$ ls /boot
>> anaconda-ks.cfg
>> AvamarClient-linux-rhel4-x86_64-5.0.100-409.rpm commands_for_setup.txt
>> Desktop
>> install.log
>> install.log.syslog
>> ixgbe-2.0.75.7.tar.gz
>> ixgbe-2.0.84.9
>> ixgbe-2.0.84.9.tar.gz
>> ixgbevf-1.0.8
>> ixgbevf-1.0.8.tar.gz
>> om
>> OM_6.0.1_ManNode_A00.tar.gz
>> oracle
>> randsnapup
>> resync_with_dd
>> salil
>>
>> See the difference?
>>
>>
> 
> 
> M.--
> 
> I THOUGHT I did, but the below indicates that I do not:
> nat0 at nat0-E-6100:~$ ls boot
> ls: cannot access boot: No such file or directory nat0 at nat0-E-6100:~$ ls
> Audiobooks  Documents  examples.desktop  Pictures    Public       Videos
> Desktop       Downloads   Music                    Podcasts  Templates

It should be '$ ls /boot' , not '$ ls boot' :)

    -Frans





More information about the ubuntu-users mailing list