General :: Displaying Mounted Devices - Incorrect Info?
Feb 11, 2011Sometimes when I try to display the mounted device in linux it displays devices which are not currently mounted. I want to correct this this using script.
View 1 RepliesSometimes when I try to display the mounted device in linux it displays devices which are not currently mounted. I want to correct this this using script.
View 1 RepliesI have a server running ArchLinux; I recently installed openntpd on it. Since I started paying closer attention to the clock, I started noticing other things; specifically when I run the "date" command, it's returned in PST when it should be "EST":
[spice@sandbox ~]$ date
Sat Mar 6 00:17:42 PST 2010
I have set the hwclock to localtime, configured "HARDWARECLOCK" to "localtime" in rc.conf, and chosen two different (but accurate) values for TIMEZONE in rc.conf:
[spice@sandbox ~]$ hwclock
Sat 06 Mar 2010 03:17:38 AM PST -0.922220 seconds
[spice@sandbox ~]$ cat /etc/rc.conf | grep TIMEZONE
TIMEZONE="US/Eastern"
[spice@sandbox ~]$ cat /etc/rc.conf | grep HARDWARE
HARDWARECLOCK="localtime"
However, as you can see, "hwclock" and "date" both say they're showing PST, although hwclock is showing the time in EST. I am not sure whether this was the case before installing openntpd. Is there another place where I should be setting the time zone?
I have been trying to configure webalizer on a centOS 5.5 system. I did the yum install and I found this helpful link...However when I try to change the dir it puts the info into, it keeps giveing me an error cannot cd to the directory. I changed the /etc/webalizer.conf file as described in the above article and try to run it manually same results. /etc/cron.daily/00webalizer Error: Can't change directory to /home/webalizer/When I put the original dir back in the path it writes to /var/www not /var/www/output like it should. I even tried a local /var/wwww/output dir. Then I tried a link to /home/webalizer/output (a dir I created) and same results.(with orginal .cfg in place)I go to my www page remote or on the local network I get page not found errors.In summary.1. Why wont the /etc/webalizer.cf file allow me to change the location of the files?2. How do I display the www page to view the data?3. How can I secure the www page so only I can view the data.
View 4 Replies View Relateduser@ubuntu:~/Documents/C$ man host_ent No manual entry for host_ent How to install the manpage for host_ent or in_addr under ubuntu?
View 1 Replies View RelatedI am using ubuntu Version 10.10. I always apply all important security updates and recommended updates. When I checked the version of my software using the system->"About ubuntu" drop down, it tells me that I am using version 11.04 which "was" released on April 2011.
View 4 Replies View RelatedI'm trying to display Wi-Fi network info using Conky. I've got it to display the IP address and the upload/download speeds, but for some reason it won't display the network SSID or wireless signal strength. Here's the relevant portion of my conky configuration:
Wi-Fi:
Network: ${wireless_essid eth1}
Signal Strength: ${wireless_link_qual_perc eth1}%
IP address: ${addr eth1}
Download Speed: ${downspeedf eth1} Kb/sec
Upload Speed: ${upspeedf eth1} Kb/sec
It's not the most frustrating problem in the world, but I've been unable to figure out the solution myself after several hours of perusing previous similar problems with Conky configs.
I recently built a new computer. For CPU, I am using AMD Athlon II X2 @ 2.8GHz... However, when I do cat /proc/cpuinfo, I get the following:
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 6
model name : AMD Athlon(tm) II X2 240 Processor
stepping : 2
cpu MHz : 800.000
cache size : 1024 KB
and same thing for processor: 1 Notice that for cpu MHz, it says 800.000. However, that is not correct... Shouldn't it say 2800? Is this a bug? Am I looking at this wrong?
I've seen some desktop screengrabs which have included a transparent graphic (usually in the upper right corner of the screen) that displays current system information such as the hostname, kernel revision, CPU utilization, etc., that is constantly updated.Is that something that is available from Debian? I would like to install it to check it out, if it's available.
View 5 Replies View RelatedI have recently mounted my iPod Touch using ifuse, and it works with gtkpod and I'm very pleased about that! However, I'm interested in finding out how openSUSE recognises what devices are mounted? Because the device manager in the task bar doesn't recognise that it's mounted... Dolphin doesn't recognise it and neither does Amarok. Only gtkpod, which is good, but I want other applications to recognise it. Do I need to mount it in a specific location? Currently it's at /mnt/iPhone. Or do I need something in fstab (I'm just guessing here).
View 1 Replies View RelatedI have 3 disks in my PC which are partitioned equally as I use them for Raid 1.The first partition on every disk is a simple ext2 partition for booting. No Raid there. So I mount them as /boot and /boot2 and /boot3. So I can backup my /boot to the other boot directories. That worked for some month and this morning I just want to look if all directories have enough free space left. So I did a df -h and got this:
Code:
Dateisystem Grove Benut Verf Ben% EingehÃĪngt auf
/dev/mapper/system-root
6,0G 301M 5,4G 6% /
udev 1,5G 292K 1,5G 1% /dev
/dev/sdb1 122M 29M 87M 25% /boot
/dev/sdc1 38M 21M 16M 59% /boot2
...
/dev/sda1 122M 29M 87M 25% /boot
As you can see /dev/sda1 and /dev/sdb1 are both mounted on /boot
Here is what mount says:
Code:
/dev/sdb1 on /boot type ext2 (ro,acl,user_xattr)
/dev/sdc1 on /boot2 type ext2 (ro,acl,user_xattr)
...
/dev/sda1 on /boot type ext2 (ro,acl,user_xattr)
This is no Problem for me as I could just remount it correctly, but I would like to know if this problem is known. I did not change anything by now and this PC is a server which is running 24/7, so I can deliver more debugging Information if someone is interested.
My computer has three drives: one with windows7,one as a storage drive, and an ide drive. I have ubuntu 10.04 installed on a seperate partition on the storage drive (+swap partition).I have "/etc/fstab" automatically monut these drives on startup:
Code:
/dev/sdc1 /media/win7 ntfs-3g quiet,defaults,rw 0 0
/dev/sdb1 /media/storage ntfs-3g quiet,defaults,rw 0 0
[code].....
I have a sony x10mini and it is correctly seen in nautilus and shotwell. But nor in banshee 1.6 (testing and sid) nor in 1.9 (experimental) is mounted. Fact is that I know it works for sure in fedora and debian so I wonder if it a problem of some dependency missing, configuration or permissions. I use the testing distro by the way...
View 11 Replies View RelatedWhen booting opensuse 11.2 or 11.3 there is automatically created a folder in /media to mount my external usb drive (in /media/disk). The problem I have is that sometimes these folders are not automatically removed when I shut down. On the next time boot this device is mounted at /media/disk-1 or /media/disk-2 which throws off for instance Krusader or Amarok. Also the folders that are not removed seem to have really strong permissions such that I can't even browse into them in Krusader or Dolphin. I have to manually clean the /media folder as super user so that when I reboot, they are in /media/disk. Does anyone know how to ensure that opensuse removes the folder(s) upon shutdown?
View 8 Replies View RelatedI have a few websites that travel along with me in my usb stick, and I want to have read and write permisions to files on my usb by other users (i.e.: www-data) actually they have 0700. I'm running maverick (linux mint Julia).
View 1 Replies View Relatedlast 3 rounds of updates to my Lucid system produced various problems, though each a solution to the previous issue. So I decided to upgrade to natty, and get new problems. LOL.
SO, my USB mouse and keyboard no longer mount on boot. If I unplug the keyboard and mouse, then re-insert them, they work fine.
Quote:
Currently when I insert a removable device, it is auto-mounted as readonly. To use it I have to do this every time.
Code:
sudo umount /dev/xxx
pmount xxx
This applys to every removable device I have, and did not exist on my previous distro. Debian amd 64 Squeeze [URL]
I am trying to find out the command to list all the devices mounted at boot-time.
View 5 Replies View RelatedThis is probably me looking but not seeing an option somewhere. I re-installed 10.10 over 10.04 by formatting the root partition but keeping the home partition the same, to save me a lot of work. (64 bit) However, now when I mount a CD, DVD or USB stick, they don't appear in Dophin's "Places" window. What have I missed please?
View 2 Replies View Relatedhaving my data backed up properly, but it's also in different places (e.g. photos and music on separate flash drives), so I have a few rsync's that I can execute manually, drives are mounted. Unfortunately, it gets confusing very quickly, I'd like a simple bash script that goes something like this (this pseudo-code would be most like REXX):
pair.1 = (/dev/sdb1, /dev/mmcblkp01)
pair.2 = (/some/other/device, /yet/another/device)
for i = 1 to #pairs
[code]....
Seems simple enough, but I've never written a bash script and wouldn't know where to start.
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
View 9 Replies View RelatedI just shrink my /home (lvm2 / ext3) and next to a reboot df give me this ouput:
Quote:
Quote:
So for my debian 265 + 2.2 = 281 ? the home is suppose to be set to 285 Go and the lv for the home to 285.17 Go
How to fix that? Or if I missed something when I shrink my home.
GNU/linux kernel 2.6, slackware 12.0
Can ls display the whole path of a file? Suppose I have /media/cdrom1/*. So I want the output of ls to be
/media/cdrom1/file1
/media/cdrom2/file2
..................
/media/cdrom2/fileN
I am working on ns2 for my new project. I have successfully installed ns2 on fedora 8 but whenever I try to run in wireless example it does not display the scenario in nam window. It works with wired but not with wireless. It also create nam trace file but does not show anything. I also tried to run Marc Greis tutorial wireless ex but same problem continue.
View 7 Replies View RelatedMy Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
A few hours ago, I ran "pacman -Syu" to update, and soon after it was finished the power went out for a few seconds, turning off my computer without properly shutting down. When I started it, the time was wrong (or maybe the time zone, since the minute is correct). It looks like it's exactly 4 hours behind (right now it's 18:53 here, but the date command says 14:53). Also, I have ntpd running, in case that matters.
View 4 Replies View RelatedI try to setup a small Debian system running on command line. Remote access shall be possible via ssh (for now also telnet) and a serial connected minicom via getty. I need the serial access as fallback in case the network is down.
As long as the package adduser is not installed, I can login as root via telnet and getty without problem. But from the moment "adduser" is installed with apt-get, the serial root login always fails after entering the right password with the message "Login incorrect". Even de-installing "adduser", or using a brand new "adduser test" user. When installing and using SSH it allows to login successfully, like telnet.
BTW: A dangerous behavior I observed with telnet: When I opening the connection via telnet, I'm immediately logged in as root - without asking for a password! I set a password with passwd which also is requested by SSH and getty (before the adduser installation) but not by telnet?!?!?
The /var/log/messages adds a line if login with su, but nothing when fails with getty
Here is my inittab:
Code:
# /etc/inittab: init(8) configuration.
# inittab,v 1.1 2006-07-27 08:58:03 lothar Exp
# The default runlevel.
id:2:initdefault:
[Code].....
I have set up a new account, with a user name of Benjamin.However, when running a sudo command, while logged in with the user name 'Benjamin', I receive an incorrect password error.Yes, I am entering the password for user name 'Benjamin' and not that of the root account.
View 9 Replies View RelatedI have a server laptop sitting around at home which is a pretty bland server, on which I generally leave the lid open and there is a login prompt always displayed.
However, I'd love to be able to display useful information on /dev/tty1 so whilst the server is just sitting there, rather than displaying a login prompt on the monitor, it could now display, for example, the current time and weather forecast for the day. Or something along those lines.
I compiled the buildroot for zImage and rootfs.jffs2 for SMDK6410. Used the linux kernel 2.6.35 and busybox 1.17. And deployed these two images using DNW. The kernel and rootfs loaded successfully and able to do execute linux commands from DNW but not from LCD screen. I am new to the linux development and want to see a sample framebuffer / desktop application on the screen.
View 2 Replies View RelatedAfter booting my PC which is running CentOS, it did not display the desktop. It just displayed a terminal window and a firefox browser all on a black screen!
View 5 Replies View Related