Fwd: systems partitions on /mnt
by Javier Perez
---------- Forwarded message ----------
From: Javier Perez <pepebuho(a)gmail.com>
Date: Sun, Sep 11, 2011 at 7:32 PM
Subject: Re: systems partitions on /mnt
To: "Michael D. Setzer II" <mikes(a)kuentos.guam.net>
I'd buy that theory if the directories at root where soft links or hard
links to the /mnt/xxxx directories, but they are not. Watch this:
[root@pepewin ~]# cd /
[root@pepewin /]# ls -al
total 158
dr-xr-xr-x. 24 root root 4096 Sep 11 05:40 .
dr-xr-xr-x. 24 root root 4096 Sep 11 05:40 ..
-rw-rw-r-- 1 root root 0 Sep 9 04:46 .autorelabel
dr-xr-xr-x. 2 root root 4096 Sep 11 03:40 bin
dr-xr-xr-x. 6 root root 1024 Sep 9 05:12 boot
drwxr-xr-x. 2 root root 4096 Mar 3 2011 cgroup
drwxrwxr-x. 2 root root 4096 Sep 9 04:38 .config
drwxr-xr-x 19 root root 4280 Sep 11 05:40 dev
drwxr-xr-x. 153 root root 12288 Sep 11 05:40 etc
drwxr-xr-x. 5 root root 4096 May 18 06:33 home
dr-xr-xr-x. 21 root root 12288 Sep 11 03:40 lib
drwx------. 2 root root 16384 May 13 14:42 lost+found
drwxr-xr-x 2 root root 40 Sep 11 05:40 media
drwxr-xr-x. 6 root root 4096 Sep 11 05:18 mnt
drwxr-xr-x. 2 root root 4096 May 18 06:33 opt
dr-xr-xr-x 182 root root 0 Sep 11 00:40 proc
-rw-rw-r-- 1 root root 47311 Sep 11 05:40 .readahead
dr-xr-x---. 21 root root 4096 Sep 11 19:27 root
drwxr-xr-x 37 root root 1240 Sep 11 12:53 run
dr-xr-xr-x. 2 root root 12288 Sep 11 03:40 sbin
drwxr-xr-x 3 root root 4096 May 18 06:33 selinux
drwxr-xr-x. 2 root root 4096 May 18 06:33 srv
drwxr-xr-x 12 root root 0 Sep 11 00:40 sys
drwxrwxrwt. 28 root root 4096 Sep 11 19:27 tmp
drwxr-xr-x. 14 root root 4096 Sep 9 07:15 usr
drwxr-xr-x. 20 root root 4096 Sep 9 07:12 var
[root@pepewin /]#
/boot, /var and /home are at their proper mount points
Therefore, what are the /mnt/xxxx versions about? right now they do not have
anything
[root@pepewin /]# ls /boot
config-2.6.38.6-26.rc1.fc15.i686 initrd-plymouth.img
config-2.6.38.8-35.fc15.x86_64 lost+found
config-2.6.40.4-5.fc15.i686 memtest86+-4.20
config-2.6.40.4-5.fc15.x86_64
System.map-2.6.38.6-26.rc1.fc15.i686
efi System.map-2.6.38.8-35.fc15.x86_64
elf-memtest86+-4.20 System.map-2.6.40.4-5.fc15.i686
extlinux System.map-2.6.40.4-5.fc15.x86_64
grub vmlinuz-2.6.38.6-26.rc1.fc15.i686
initramfs-2.6.38.6-26.rc1.fc15.i686.img vmlinuz-2.6.38.8-35.fc15.x86_64
initramfs-2.6.38.8-35.fc15.x86_64.img vmlinuz-2.6.40.4-5.fc15.i686
initramfs-2.6.40.4-5.fc15.i686.img vmlinuz-2.6.40.4-5.fc15.x86_64
initramfs-2.6.40.4-5.fc15.x86_64.img
[root@pepewin /]# ls /mnt/boot
[root@pepewin /]#
Javier
On Sun, Sep 11, 2011 at 5:29 AM, Michael D. Setzer II <
mikes(a)kuentos.guam.net> wrote:
> No. They are the mount points where the partitions are mounted
> to. On you older system, you would have had a /boot and the
> /boot partition would have been mounted to that point.
>
> I haven't setup Fedora 15 with other than the default setting, but
> would assume it is the same.
>
>
> On 11 Sep 2011 at 4:38, Javier Perez wrote:
>
> Date sent: Sun, 11 Sep 2011 04:38:31 -0500
> Subject: systems partitions on /mnt
> From: Javier Perez <pepebuho(a)gmail.com>
> To: Community support for Fedora users <users(a)lists.fedoraproject.org>
> Send reply to: Community support for Fedora users <
> users(a)lists.fedoraproject.org>
> <mailto:users-request@lists.fedoraproject.org?subject=unsubscribe>
> <mailto:users-request@lists.fedoraproject.org?subject=subscribe>
>
> >
> > Hi
> > I have been googling but could not find anything useful yet.
> >
> > I am installing a new system.(FC15) from scratch.
> > I created separate / , /boot , /var , /home partitions, taking into
> consideration that I had a large
> > disk.
> > I noticed that /mnt has boot, var and home directories which are not
> pointing at anything
> > I do not remember having those on my old system (Fedora 14)
> > Those directories would be created at their normal positions on the file
> tree.
> >
> > Currently, they are at their right positions working fine, but I find it
> weird to have directory stubs
> > for them on /mnt.
> >
> > Is it safe to erase the stubs?
> >
> > [root@pepewin mnt]# cat /etc/fstab
> >
> > #
> > # /etc/fstab
> > # Created by anaconda on Fri Sep 9 04:30:24 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=fda4cfc1-574c-4bd2-903b-619c597f88ac / ext4 defaults 1 1
> > UUID=26a6c209-c04f-46d4-894c-f409a962182b /boot ext2 defaults 1 2
> > UUID=7a089743-da14-4d09-ad56-38ee4ba69943 /home ext4 defaults 1 2
> > UUID=1e4e08b5-8386-4731-9486-2d7874f90706 /var ext4 defaults 1 2
> > UUID=0f17d854-5f2f-4d57-ad13-c6afb7d933d7 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
> > [root@pepewin mnt]#
> >
> > [root@pepewin mnt]# ls -al
> > total 20
> > drwxr-xr-x. 5 root root 4096 May 18 06:33 .
> > dr-xr-xr-x. 26 root root 4096 Sep 10 21:20 ..
> > drwxr-xr-x. 2 root root 4096 Sep 9 04:30 boot
> > drwxr-xr-x. 2 root root 4096 Sep 9 04:30 home
> > drwxr-xr-x. 2 root root 4096 Sep 9 04:30 var
> > [root@pepewin mnt]#
> >
> > =======
> >
> > thanks
> >
> > --
> > ------------------------------
> > /\_/\
> > |O O| pepebuho(a)gmail.com
> > ~~~~ Javier Perez
> > ~~~~ While the night runs
> > ~~~~ toward the day...
> > m m Pepebuho watches
> > from his high perch.
>
>
> +----------------------------------------------------------+
> Michael D. Setzer II - Computer Science Instructor
> Guam Community College Computer Center
> mailto:mikes@kuentos.guam.net
> mailto:msetzerii@gmail.com
> http://www.guam.net/home/mikes
> Guam - Where America's Day Begins
> G4L Disk Imaging Project maintainer
> http://sourceforge.net/projects/g4l/
> +----------------------------------------------------------+
>
> http://setiathome.berkeley.edu (Original)
> Number of Seti Units Returned: 19,471
> Processing time: 32 years, 290 days, 12 hours, 58 minutes
> (Total Hours: 287,489)
>
> BOINC@HOME CREDITS
> SETI 11219722.255013 | EINSTEIN 6513470.039851
> ROSETTA 3598070.767356 | ABC 8010113.015091
>
>
--
------------------------------
/\_/\
|O O| pepebuho(a)gmail.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
--
------------------------------
/\_/\
|O O| pepebuho(a)gmail.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
12 years, 8 months
OT: How to find amount of free memory from within a C program
by Ranjan Maitra
Dear friends,
This is a general question with the exception that I use Fedora
exclusively:-) Besides, this -- along with R-help -- are the two most
knowledgeable and helpful mailing lists I know of.
In any case, is there a ready way (function or such) to find out how
much memory is available to me from inside a C program? I would like
this to be as generic as possible.
I tried getrusage() but I could not figure out if there was a field for
free/available memory in the rusage struct. In fact, there does not
seem to be.
Any other suggestions?
Many thanks again for this OT help, and best wishes,
Ranjan
12 years, 8 months
Quick and dirty partition table repair?
by Tom Horsley
I've been rearranging a disk with gparted and it left
me with this:
Device Boot Start End Blocks Id System
/dev/sdb4 2048 976773119 488385536 5 Extended
/dev/sdb5 4096 51204095 25600000 83 Linux
/dev/sdb6 51206144 976771071 462782464 83 Linux
If I try to mount the partitions at boot time, something
gets very confused by the extended partition being /dev/sdb4
instead of /dev/sdb1.
Is there a quick way I can move the 4th primary partition entry
to the 1st primary partition entry?
Or is a hex edit and extreme care my only hope?
Or maybe it would all be simpler if I just DDed the one partition
I'm trying to keep to a file, reinitialize the disk from scratch,
and then DD it back (making sure to make the partition the identical
size).
12 years, 8 months
list of rpms in iso file
by Ranjan Maitra
Hi,
I have been trying to determine what are the packages in a live iso
file? How do i do this? i could find instructions on how to use
rpm2cpio to extract a rpm file that i know is in the iso, but i am
looking here to obtain a list of the rpms.
many thanks in advance, and best wishes,
ranjan
12 years, 8 months
GRUB missing Windows boot option (was Re: Issues with Fedora 15 install)
by Pedro Francisco
Should just be to add at the "bottom" of /boot/grub/menu.lst (below to
similar ones)
title Windows XP
rootnoverify(hd0,0)
chainloader +1
No need to do anything else.
Reference http://forums.fedoraforum.org/showthread.php?t=145424 (the "grub",
"setup" and "grub-install" parts do not apply to your case since GRUB is
already installed).
In my F15 with Win7 32 bits the option was added correctly by the Fedora 15
installer.
On Sat, Sep 10, 2011 at 10:19 AM, Sanjay Arora <sanjay.k.arora(a)gmail.com>wrote:
> Hello all
>
> I installed Fedora 15 on a system with Intel Core i7-2600 processor, Intel
> DH67BL motherboard and 1 TB Hitachi HDD. The system had a prior Windows 7
> install. However, the Fedora 64 bit install detected it simply as "other"
> and did not setup a Dual boot using a grub menu, as I found with
> installations of Fedora 11 & WinXP. Now my WinXP booting is lost!
>
> How do I enable dual boot? Request pointers to a step-by-step instructions.
> Secondly, is this a bug? Has it been removed in later updates?
>
> *(...) other things I've no idea (...)*
>
12 years, 8 months
Issues with Fedora 15 install
by Sanjay Arora
Hello all
I installed Fedora 15 on a system with Intel Core i7-2600 processor, Intel
DH67BL motherboard and 1 TB Hitachi HDD. The system had a prior Windows 7
install. However, the Fedora 64 bit install detected it simply as "other"
and did not setup a Dual boot using a grub menu, as I found with
installations of Fedora 11 & WinXP. Now my WinXP booting is lost!
How do I enable dual boot? Request pointers to a step-by-step instructions.
Secondly, is this a bug? Has it been removed in later updates?
Second, I am using a TP link WiFi router with builtin four port 10/100
switch. This system is plugged directly into that. The onboard NIC is Intel
PRO gigabit port. In Windows 7 the Network connection is 100 Mbit one, but
in Fedora 15 the Network Connection is 10 Mbit....all hardware is same. What
to do?
I am looking to install & test a legacy xbase compiler call Harbour. Its
available on ATrpms repo as a binary, otherwise one has to compile it from
the source. Does integrating ATrpms repo with Fedora entail any functional
issues relating any sort of clash with Fedora repos at a later date? Should
I install harbour & maintain it everytime from source...which is a trouble,
though doable...or would adding ATrpms be ok? I have never used it, so
looking for feedback for its use by novice users.
Am presently updating the Fedora 15 install through a 256 kbps broadband, so
expect it will complete by late tonight. Please do give your comments on all
issues.
With best regards.
Sanjay.
12 years, 8 months
Intel graphics bug?
by Tom Horsley
Does anyone have neverputt installed on an nvidia or ATI graphics
system? Do you also see the weird cross running through the ball
that shows up in this sample screenshot?
http://localhost/comcast/hardware/zooty/images/neverputt-cross.png
I don't know if this is some strange new feature added to the
game while I was building my new system, or shows a bug in
the intel graphics drivers :-). The point where the beams
cross very consistently follows the ball around all the
time.
This is on fedora 15 64 bit. neverball-1.5.4-4.fc15.x86_64
is the version of the game I have installed.
12 years, 8 months
SVN over HTTP and mod_security
by Philip Prindeville
I had configured and installed subversion (SVN) to run over HTTP as the transport, but when I tried to use it I got:
[Mon Sep 05 11:23:29 2011] [error] [client ::1] ModSecurity: Warning. Operator LT matched 20 at TX:inbound_anomaly_score. [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_60_correlation.conf"] [line "31"] [msg "Inbound Anomaly Score (Total Inbound Score: 15, SQLi=, XSS=): Method is not allowed by policy"] [hostname "localhost"] [uri "/svn/astlinux/trunk/package/linux-atm"] [unique_id "TmUFkcCoAQoAABnnJF8AAAAD"]
[Mon Sep 05 11:23:29 2011] [error] [client ::1] ModSecurity: Warning. Operator LT matched 20 at TX:inbound_anomaly_score. [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_60_correlation.conf"] [line "31"] [msg "Inbound Anomaly Score (Total Inbound Score: 15, SQLi=, XSS=): Method is not allowed by policy"] [hostname "localhost"] [uri "/svn/astlinux/!svn/act/709637a8-16ca-40eb-8008-8cb9d5bd189c"] [unique_id "TmUFkcCoAQoAABnlI-4AAAAB"]
[Mon Sep 05 11:23:29 2011] [error] [client ::1] ModSecurity: Warning. Operator LT matched 20 at TX:inbound_anomaly_score. [file "/etc/httpd/modsecurity.d/base_rules/modsecurity_crs_60_correlation.conf"] [line "31"] [msg "Inbound Anomaly Score (Total Inbound Score: 15, SQLi=, XSS=): Method is not allowed by policy"] [hostname "localhost"] [uri "/svn/astlinux/!svn/act/709637a8-16ca-40eb-8008-8cb9d5bd189c"] [unique_id "TmUFkcCoAQoAABnkI6QAAAAA"]
when doing commits, etc. I was thinking it would be nice if mod_security out-of-the-box supported SVN...
I'm looking at the supposed offending rule:
SecRule TX:INBOUND_ANOMALY_SCORE "@gt 0" \
"chain,phase:5,t:none,log,noauditlog,pass,msg:'Inbound Anomaly Score (Total Inbound Score: %{TX.INBOUND_ANOMALY_SCORE}, SQLi=%{TX.SQLI_SCORE}, XSS=%{TX.XSS_SCORE}): %{tx.inbound_tx_msg}'"
SecRule TX:INBOUND_ANOMALY_SCORE "@lt %{tx.inbound_anomaly_score_level}" "skipAfter:END_CORRELATION"
and thinking "Wha.....t?"
If the .conf files out-of-the-box can't support SVN by default, how about at least having a post-install script that modifies the rules to accommodate SVN?
Or what about SVN installing its own rules if it detects mod_security is installed and enabled?
But less abstractly: does anyone know what's required to make SVN-over-HTTP work with mod_security?
Thanks,
-Philip
12 years, 8 months
Using Bitmap Font
by Steven Oliver
I'm having trouble installing and using bitmap fonts on my new Fedora 15 install. I prefer to use a font called Dina when I program (found here: http://www.proggyfonts.com/index.php?menu=download). It's a bitmap font, as opposed to a TTF or some other fancy format.
So far I've tried creating a ~/.fonts directory and placing it there. While that causes the font to show up in selection menus actually selecting results in one of two situations: the font fails to render properly or the program, realizing the failure to display, appears to just fallback to a known working font.
Has anyone else had font issues similar to this? Any help or suggestions would be appreciated. Thanks.
12 years, 8 months
Re: Address space collision (Was: Is this a bug?)
by Adam Tong
Hi,
I found a link giving a workaround for this:
http://wiki.alpinelinux.org/wiki/Error_message_on_boot:_Address_space_col...
There is no syslinux.cfg, i guess the equivalent one in fedora would be:
/etc/grub.conf
But as i am not sure where to add the string "pci=nocrs", I prefer ask for help and give you the content of my grub.conf:
----------
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-[generic-]version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.40.3-0.fc15.i686.PAE)
root (hd0,2)
kernel /vmlinuz-2.6.40.3-0.fc15.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=cf rhgb quiet
initrd /initramfs-2.6.40.3-0.fc15.i686.PAE.img
title Fedora (2.6.40-4.fc15.i686.PAE)
root (hd0,2)
kernel /vmlinuz-2.6.40-4.fc15.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=cf rhgb quiet
initrd /initramfs-2.6.40-4.fc15.i686.PAE.img
title Fedora (2.6.38.6-26.rc1.fc15.i686.PAE)
root (hd0,2)
kernel /vmlinuz-2.6.38.6-26.rc1.fc15.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rd_LVM_LV=VolGroup/lv_root rd_LVM_LV=VolGroup/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=cf rhgb quiet
initrd /initramfs-2.6.38.6-26.rc1.fc15.i686.PAE.img
title Other
rootnoverify (hd0,1)
chainloader +1
----------
Thanks
--- On Fri, 9/9/11, Frank Elsner <frank(a)moltke28.B.Shuttle.DE> wrote:
> From: Frank Elsner <frank(a)moltke28.B.Shuttle.DE>
> Subject: Re: Address space collision (Was: Is this a bug?)
> To: "Community support for Fedora users" <users(a)lists.fedoraproject.org>
> Date: Friday, September 9, 2011, 11:57 AM
> On Fri, 9 Sep 2011 11:38:17 -0700
> (PDT) Adam Tong wrote:
> > Hi,
> >
> > The problem: Whenever I unplug the network wire the
> mouse and screen freeze and i cannot do anything.
> >
> > I disabled ntp from gnome gui. The problem is still
> there.
> >
> > I noticed a message during startup that i was able to
> see when i modified manually ntp.conf and then removed the
> network wire and logged out.
> >
> > Here is the message:
> > -----
> > [0.150219] pci_root PNP0A08:00: address space
> collision: host bridge window
> > [mem0x00ccc000_ox00cfff] conflicts with Video ROM
> [mem0x000c000c0000_0x000ce1fff]
> > Started LSB: Start and Stop sendmail
> > -----
> >
> > If this error gives you any kind of indication please
> let me know.
>
> What about feeding the string "address space collision:
> host bridge"
> into your favourite search engine?
>
>
> --Frank Elsner
> --
> users mailing list
> users(a)lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
12 years, 8 months