LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2011, 03:19 PM   #1
dotkpay
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Last mount times


Hello,
How do I get the details of the last 10 or 5 mount times for my linux system. Which also includes the times it was mounted from a foreign system running in ram like puppy linux or by another OS on the same hard disk.

Thanks in advance
 
Old 07-29-2011, 11:36 PM   #2
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Usually, mount information is logged to /var/log/messages. Linux-based live CD/DVD systems log information to their in-memory log files. When you reboot the computer, this information is gone, unless you save it somewhere.

Other operating systems have their own facilities for logging information, you have to look for that information in the OS you're using to mount your partitions.
 
1 members found this post helpful.
Old 07-30-2011, 12:48 AM   #3
dotkpay
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
ok thanks but this sounds embarrassing, I just wanted to know if anyone used my pc while I was away, can I get any last boot information from the BIOS or anywhere?
 
Old 07-30-2011, 01:48 AM   #4
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Don't think it's embarrasing, not at all. I've been in that situation many times before. As I mentioned above, check /var/log/messages. Normally the Linux kernel will start logging with something like this:

Code:
Jul 29 17:44:17 darkstar syslogd 1.5.0: restart.
Jul 29 17:44:17 darkstar kernel: klogd 1.5.0, log source = /proc/kmsg started.
By examining the log you'll know if the computer was turned on while you were away. But there are better security measures, most BIOSes can be set up with passwords, and boot managers can also have passwords. Hard disk partitions can be encrypted, which is very useful with laptop computers.

If you use one or more security measures, casual unauthorized users will have a hard time accessing your system and data.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount blues and a headache at times on a nas ajohn Linux - Newbie 2 06-03-2011 04:18 AM
nfs mount showing two times in df -h mayrus9 Red Hat 1 07-05-2010 10:56 PM
CIF Mount times out error 110 but able to browse via smb:/ (SUSE 10.3) 1kyle SUSE / openSUSE 1 03-22-2008 06:39 AM
Extremely slow mount times for NFS wayloud Linux - Networking 2 06-04-2005 12:58 AM
nfs mount times out gtkmike Linux - Networking 1 11-15-2003 10:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration