Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Log date/time for files accessed?

Featured Replies

I'm using UnRaid as a media server and I was wondering if there is a way to create a log of which files (movies) have been accessed by which computers on what dates. This would allow me to compile a list of movies watched and how many times. Anyone have an idea?

I'm using UnRaid as a media server and I was wondering if there is a way to create a log of which files (movies) have been accessed by which computers on what dates. This would allow me to compile a list of movies watched and how many times. Anyone have an idea?

The file systems on unRAID are mounted with options to  specifically not track access time on either files or directories. 

 

Example:

mount | grep disk1

/dev/md1 on /mnt/disk1 type reiserfs (rw,noatime,nodiratime,noacl,nouser_xattr)

This, I think, was to eliminate "writing" to the disks every time they are listed in a file browser.  If the access times are updated, it would mean the disks would be writen to, parity updated, and the disks would not spin down as expected.

 

You would need to re-mount the file systems at a minimum.  That would allow you to at least use the "access-timeshamp" to track when a file or directory was last accessed.      No idea what that would do to the user-shares... you are exploring unknown territory.

Nothing I know of will tell you how many times a file has been accessed.

 

Joe L.

 

There might be a way to do this via Samba and logging.

 

I have not explored this in any depth.

I'm just trying to give a quick reply for more in depth review.

I have an old version of smbd running on an old machine and remembered seeing file access logged as such

 

root@mymachine /var/log/samba >less log.machinename

[2009/05/21 14:43:11, 2] smbd/open.c:open_file(213)

  nobody opened file NewAge/Andreas Vollenweider/Down To The Moon/Andreas Vollenweider - Down To The Moon - 05 - Night Fire Dance.m

p3 read=Yes write=No (numopen=35)

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.