FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-10-2011, 10:49 PM
 
Default Fedora 15 and mount points

Hello all,

I just installed Fedora 15 for the first time on a
new box.* Man...* The change in device names alone is going to
cause me lots of headaches.* So many scripts, so little time...

Anyway, I found that I have multiple mount points that I didn't
define in the install and are not in fstab.* Is there an easy way to
get rid of the duplication?* A quick Google search suggested
disabling sandbox but I want to be sure I'm doing the right thing before I
go and start killing things.*

Here is what I see (note
that /tmp and /home show up twice and /var/tmp comes from thin air):

cat /etc/fstab

#
# /etc/fstab
# Created by
anaconda on Wed Aug 10 11:52:02 2011
#
# Accessible filesystems,
by reference, are maintained under '/dev/disk'
# See man pages
fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=7b481850-efbd-4940-899f-91a3b72d55b5
/**********************
ext4*** defaults*******
1 1
UUID=389a90a3-de75-47af-b185-b561f88b8c2e
/boot******************
ext4*** defaults*******
1 2
UUID=7d84d212-dc96-481b-85d8-55d2d082e98f
/home******************
ext4*** defaults*******
1 2
UUID=38f2192d-e828-4db2-8d20-cb7dfdcac54e
/tmp*******************
ext4*** defaults*******
1 2
UUID=9e46d31a-f86a-4ef3-a4c4-a81a10eb12e4
/var*******************
ext4*** defaults*******
1 2
UUID=92323972-c12d-4485-960c-d55427ca3177
swap*******************
swap*** defaults*******
0 0
tmpfs******************
/dev/shm***************
tmpfs** defaults******* 0
0
devpts*****************
/dev/pts***************
devpts* gid=5,mode=620* 0 0
sysfs******************
/sys*******************
sysfs** defaults******* 0
0
proc*******************
/proc******************
proc*** defaults*******
0 0


df -h
Filesystem***********
Size* Used Avail Use% Mounted on
rootfs****************
49G* 3.7G** 42G** 8% /
udev******************
16G**** 0** 16G** 0% /dev
tmpfs*****************
16G* 248K** 16G** 1% /dev/shm
tmpfs*****************
16G* 660K** 16G** 1% /run
/dev/cciss/c0d0p2***** 49G*
3.7G** 42G** 8% /
tmpfs*****************
16G**** 0** 16G** 0%
/sys/fs/cgroup
tmpfs*****************
16G**** 0** 16G** 0% /media
/dev/cciss/c0d0p7**** 128G* 207M*
122G** 1% /home
/dev/cciss/c0d0p6****
4.9G* 475M* 4.1G* 11% /var
/dev/cciss/c0d0p5**** 4.9G* 138M*
4.5G** 3% /tmp
/dev/cciss/c0d0p1****
985M** 59M* 876M** 7% /boot
/dev/cciss/c0d0p5**** 4.9G* 138M*
4.5G** 3% /tmp
/dev/cciss/c0d0p6****
4.9G* 475M* 4.1G* 11% /var/tmp
/dev/cciss/c0d0p7**** 128G* 207M*
122G** 1% /home



mount
/proc on /proc
type proc (rw,relatime)
/sys on /sys type sysfs
(rw,relatime,seclabel)
udev on /dev type devtmpfs
(rw,nosuid,relatime,seclabel,size=16497580k,nr_ino des=4124395,mode=755)
devpts on /dev/pts type devpts
(rw,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm
type tmpfs (rw,relatime,seclabel)
tmpfs on /run type tmpfs
(rw,nosuid,nodev,noexec,relatime,seclabel,mode=755 )
/dev/cciss/c0d0p2
on / type ext4 (rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>selinuxfs on /selinux type selinuxfs (rw,relatime)
tmpfs on
/sys/fs/cgroup type tmpfs
(rw,nosuid,nodev,noexec,relatime,seclabel,mode=755 )
cgroup on
/sys/fs/cgroup/systemd type cgroup
(rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu
type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cgroup on
/sys/fs/cgroup/cpuacct type cgroup
(rw,nosuid,nodev,noexec,relatime,cpuacct)
cgroup on
/sys/fs/cgroup/memory type cgroup
(rw,nosuid,nodev,noexec,relatime,memory)
cgroup on
/sys/fs/cgroup/devices type cgroup
(rw,nosuid,nodev,noexec,relatime,devices)
cgroup on
/sys/fs/cgroup/freezer type cgroup
(rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on
/sys/fs/cgroup/net_cls type cgroup
(rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on
/sys/fs/cgroup/blkio type cgroup
(rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on
/sys/fs/cgroup/perf_event type cgroup
(rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on
/sys/kernel/debug type autofs
(rw,relatime,fd=30,pgrp=1,timeout=300,minproto=5,m axproto=5,direct)
systemd-1 on /dev/mqueue type autofs
(rw,relatime,fd=31,pgrp=1,timeout=300,minproto=5,m axproto=5,direct)
systemd-1 on /sys/kernel/security type autofs
(rw,relatime,fd=32,pgrp=1,timeout=300,minproto=5,m axproto=5,direct)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs
(rw,relatime,fd=33,pgrp=1,timeout=300,minproto=5,m axproto=5,direct)
systemd-1 on /dev/hugepages type autofs
(rw,relatime,fd=35,pgrp=1,timeout=300,minproto=5,m axproto=5,direct)
tmpfs on /media type tmpfs
(rw,nosuid,nodev,noexec,relatime,rootcontext=syste m_ubject_r:mnt_t:s0,seclabel,mode=755)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
/dev/cciss/c0d0p7 on /home type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>/dev/cciss/c0d0p6 on /var type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>/dev/cciss/c0d0p5 on /tmp type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>/dev/cciss/c0d0p1 on /boot type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>/dev/cciss/c0d0p5 on /tmp type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>/dev/cciss/c0d0p6 on /var/tmp type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data=""
/>/dev/cciss/c0d0p7 on /home type ext4
(rw,relatime,seclabel,user_xattr,barrier=1,data="" />sunrpc on
/var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)

--

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-11-2011, 12:28 AM
Tom H
 
Default Fedora 15 and mount points

On Wed, Aug 10, 2011 at 6:49 PM, <aragonx@dcsnow.com> wrote:
>
> I just installed Fedora 15 for the first time on a new box.* Man...* The
> change in device names alone is going to cause me lots of headaches.* So
> many scripts, so little time...
>
> Anyway, I found that I have multiple mount points that I didn't define in
> the install and are not in fstab.* Is there an easy way to get rid of the
> duplication?* A quick Google search suggested disabling sandbox but I want
> to be sure I'm doing the right thing before I go and start killing things.

take a look at findmnt and lsblk.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-11-2011, 08:10 PM
 
Default Fedora 15 and mount points

> On Wed, Aug 10, 2011 at 6:49 PM, <aragonx@dcsnow.com>
wrote:
>>
>> Anyway, I found that I have multiple
mount points that I didn't define
>> in
>> the
install and are not in fstab.* Is there an easy way to get rid of
>> the
>> duplication?* A quick Google search
suggested disabling sandbox but I
>
> take a look at
findmnt and lsblk.

The same information with no additional
clarity was displayed by those two commands.* Another Google search
provided me with:

https://bugzilla.redhat.com/show_bug.cgi?id=701176

and

http://forums.fedoraforum.org/showthread.php?t=263221

Seems this is a known *feature* of F-15 and no one is all that
interested in changing it.* Unfortunately, I have a good number of
scripts that use the output of df and mount that would need modified for
this.* The /var/tmp mount is especially troubling...
--

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-11-2011, 08:14 PM
Genes MailLists
 
Default Fedora 15 and mount points

On 08/11/2011 04:10 PM, aragonx@dcsnow.com wrote:
>> On Wed, Aug 10, 2011 at 6:49 PM, <aragonx@dcsnow.com> wrote:
>>>
>>> Anyway, I found that I have multiple mount points that I didn't define
>>> in
>>> the install and are not in fstab. Is there an easy way to get rid of
>>> the
>>> duplication? A quick Google search suggested disabling sandbox but I
>>
>> take a look at findmnt and lsblk.
>
> The same information with no additional clarity was displayed by those
> two commands. Another Google search provided me with:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=701176
>
> and
>
> http://forums.fedoraforum.org/showthread.php?t=263221
>
> Seems this is a known *feature* of F-15 and no one is all that
> interested in changing it. Unfortunately, I have a good number of
> scripts that use the output of df and mount that would need modified for
> this. The /var/tmp mount is especially troubling...


Try

findmnt -s

see if that is to your taste.

gene
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-11-2011, 10:43 PM
Tom H
 
Default Fedora 15 and mount points

On Thu, Aug 11, 2011 at 4:10 PM, <aragonx@dcsnow.com> wrote:
>> On Wed, Aug 10, 2011 at 6:49 PM, <aragonx@dcsnow.com> wrote:
>>>
>>> Anyway, I found that I have multiple mount points that I didn't define
>>> in
>>> the install and are not in fstab.* Is there an easy way to get rid of
>>> the
>>> duplication?* A quick Google search suggested disabling sandbox but I
>>
>> take a look at findmnt and lsblk.
>
> The same information with no additional clarity was displayed by those two
> commands.* Another Google search provided me with:
> https://bugzilla.redhat.com/show_bug.cgi?id=701176
> and
> http://forums.fedoraforum.org/showthread.php?t=263221
>
> Seems this is a known *feature* of F-15 and no one is all that interested in
> changing it.* Unfortunately, I have a good number of scripts that use the
> output of df and mount that would need modified for this.* The /var/tmp
> mount is especially troubling...

I thought that their outputs, especially that of findmnt, would've
clarified the output of mount, except for the three sandbox bind
mounts.

Suggestions for replacing mount in your scripts:
findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-12-2011, 08:46 AM
Reindl Harald
 
Default Fedora 15 and mount points

Am 12.08.2011 00:43, schrieb Tom H:

>> Seems this is a known *feature* of F-15 and no one is all that interested in
>> changing it. Unfortunately, I have a good number of scripts that use the
>> output of df and mount that would need modified for this. The /var/tmp
>> mount is especially troubling...
>
> I thought that their outputs, especially that of findmnt, would've
> clarified the output of mount, except for the three sandbox bind
> mounts.
>
> Suggestions for replacing mount in your scripts:
> findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
> findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /

this does not solve the problem with thousands of applications
like df, mlocate and mount: if a change forces a lot of programs
and scripts to be changed anybody who made it is a little naive
to believe the world is turning around him and should hurry
up fixing all this apllications he broke or revert his change!

https://bugzilla.redhat.com/show_bug.cgi?id=709351
https://bugzilla.redhat.com/show_bug.cgi?id=730138
https://bugzilla.redhat.com/show_bug.cgi?id=723279


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-12-2011, 08:46 AM
Reindl Harald
 
Default Fedora 15 and mount points

Am 12.08.2011 00:43, schrieb Tom H:

>> Seems this is a known *feature* of F-15 and no one is all that interested in
>> changing it. Unfortunately, I have a good number of scripts that use the
>> output of df and mount that would need modified for this. The /var/tmp
>> mount is especially troubling...
>
> I thought that their outputs, especially that of findmnt, would've
> clarified the output of mount, except for the three sandbox bind
> mounts.
>
> Suggestions for replacing mount in your scripts:
> findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
> findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /

this does not solve the problem with thousands of applications
like df, mlocate and mount: if a change forces a lot of programs
and scripts to be changed anybody who made it is a little naive
to believe the world is turning around him and should hurry
up fixing all this apllications he broke or revert his change!

https://bugzilla.redhat.com/show_bug.cgi?id=709351
https://bugzilla.redhat.com/show_bug.cgi?id=730138
https://bugzilla.redhat.com/show_bug.cgi?id=723279


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-12-2011, 02:34 PM
Tom H
 
Default Fedora 15 and mount points

On Fri, Aug 12, 2011 at 4:46 AM, Reindl Harald <h.reindl@thelounge.net> wrote:
> Am 12.08.2011 00:43, schrieb Tom H:
>>>
>>> Seems this is a known *feature* of F-15 and no one is all that interested in
>>> changing it. *Unfortunately, I have a good number of scripts that use the
>>> output of df and mount that would need modified for this. *The /var/tmp
>>> mount is especially troubling...
>>
>> I thought that their outputs, especially that of findmnt, would've
>> clarified the output of mount, except for the three sandbox bind
>> mounts.
>>
>> Suggestions for replacing mount in your scripts:
>> findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
>> findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
>> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
>> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
>> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
>> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
>
> this does not solve the problem with thousands of applications
> like df, mlocate and mount: if a change forces a lot of programs
> and scripts to be changed anybody who made it is a little naive
> to believe the world is turning around him and should hurry
> up fixing all this apllications he broke or revert his change!
>
> https://bugzilla.redhat.com/show_bug.cgi?id=709351
> https://bugzilla.redhat.com/show_bug.cgi?id=730138
> https://bugzilla.redhat.com/show_bug.cgi?id=723279

This thread isn't about locate and in the last bug, the developer says
"I'll fix it".

In all OSs, evolution entails changes for the users. No big deal!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-12-2011, 02:43 PM
Reindl Harald
 
Default Fedora 15 and mount points

Am 12.08.2011 16:34, schrieb Tom H:
> On Fri, Aug 12, 2011 at 4:46 AM, Reindl Harald <h.reindl@thelounge.net> wrote:
>> Am 12.08.2011 00:43, schrieb Tom H:
>>>>
>>>> Seems this is a known *feature* of F-15 and no one is all that interested in
>>>> changing it. Unfortunately, I have a good number of scripts that use the
>>>> output of df and mount that would need modified for this. The /var/tmp
>>>> mount is especially troubling...
>>>
>>> I thought that their outputs, especially that of findmnt, would've
>>> clarified the output of mount, except for the three sandbox bind
>>> mounts.
>>>
>>> Suggestions for replacing mount in your scripts:
>>> findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
>>> findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
>>> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
>>> findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
>>> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
>>> findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
>>
>> this does not solve the problem with thousands of applications
>> like df, mlocate and mount: if a change forces a lot of programs
>> and scripts to be changed anybody who made it is a little naive
>> to believe the world is turning around him and should hurry
>> up fixing all this apllications he broke or revert his change!
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=709351
>> https://bugzilla.redhat.com/show_bug.cgi?id=730138
>> https://bugzilla.redhat.com/show_bug.cgi?id=723279
>
> This thread isn't about locate and in the last bug, the developer says
> "I'll fix it".
>
> In all OSs, evolution entails changes for the users. No big deal!

this thread is about a idiotic change in the behavior of mount
shortly before release F15 and i do not speak only about locate

COREUTILS have to be fixed that there output is the same
as before the change or such a change has to be reverted

but you can fix "df" for me if you have the time and knowledge
in a way that i get NOT a mail everytime a cronjob calls it
without root-permissions about access denied for /var/named/chroot/

> evolution entails changes for the users

this is a dumb argumentation as long coreutils under "/bin/" are
broken because they are outside the users reach to do anything

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-12-2011, 03:00 PM
Tomasz Torcz
 
Default Fedora 15 and mount points

On Fri, Aug 12, 2011 at 10:46:27AM +0200, Reindl Harald wrote:
> > I thought that their outputs, especially that of findmnt, would've
> > clarified the output of mount, except for the three sandbox bind
> > mounts.
> >
> > Suggestions for replacing mount in your scripts:
> > findmnt -lnu -o SOURCE,TARGET,FSTYPE,OPTIONS
> > findmnt -lnsu -o SOURCE,TARGET,FSTYPE,OPTIONS
> > findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
> > findmnt -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
> > findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -S /dev/sda1
> > findmnt -n -o SOURCE,TARGET,FSTYPE,OPTIONS -T /
>
> this does not solve the problem with thousands of applications
> like df, mlocate and mount: if a change forces a lot of programs
> and scripts to be changed anybody who made it is a little naive
> to believe the world is turning around him and should hurry
> up fixing all this apllications he broke or revert his change!

One of Fedora's core values is “first”. We do introduce new things
and instead of reverting them, we fix broken apps. If lot of programs
have to be changed – life is hard.


--
Tomasz Torcz Morality must always be based on practicality.
xmpp: zdzichubg@chrome.pl -- Baron Vladimir Harkonnen

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 06:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org