Stanford University
PSYCH 267, section 01
Winter 2007
(1074-psych-267-01)

1. Why am I seeing this page?
2. What happened to my Leland web site at http://www.stanford.edu/class/my_class_name?
3. How do I locate the path of my course’s AFS volume?
4. How do I copy content from a previous course WWW directory to the current course WWW directory?
5. How can I reference WWW content in CourseWork?
6. What should I do if I have AFS questions or issues?
7. Where can I learn more about AFS?

 

1. Why am I seeing this page?
This page has been generated automatically by CourseWork. You are seeing this page because a CourseWork web site was recently set up for PSYCH 267, section 01. Since some courses have Leland web sites in addition to CourseWork web sites, this document serves to explain how to locate Leland hosted web content from previous quarters. CourseWork instructors, TAs, or course admins can replace this page by generating a public homepage via the CourseWork Course Homepage tool. Please see http://www.stanford.edu/group/coursework/docsUser/adminHelp/ch10s08.html for more information.

2. What happened to my Leland web site at http://www.stanford.edu/class/my_class_name?
Content for Leland course web sites and CourseWork web sites is stored in AFS, an online file storage system. When a new request is made for a course web site - either via Leland Services or via CourseWork, a new AFS volume is set up for the course. The path to this AFS volume follows the convention of /afs/ir/class/archive/subject/subjectnumber/subjectnumber.term (e.g., /afs/ir/class/archive/cs/cs1/cs1.1046 where 1046 is a PeopleSoft code for Spring 2004).

Content uploaded via CourseWork and content uploaded to a Leland course web site are stored in the same AFS volume but in different areas. Content uploaded via CourseWork is stored in the coursework-restricted folder and content uploaded to a Leland course web site is stored in the WWW folder.
NOTE: although instructors, TAs, and course admins have access to the coursework-restricted folder, please do not move or rename the files in this folder. Links to these files in CourseWork will be broken as a consequence.

Given that the path to a course’s AFS volume is long and difficult to remember, a shortcut path is created at /afs/ir/class/subjectnumber each time a new request is made for a course web site. The WWW directory has the shortcut URL of http://www.stanford.edu/class/subjectnumber (e.g., http://www.stanford.edu/class/cs1). Since this shortcut URL is pointing to current quarter’s content, WWW content from a previous quarter needs to be accessed via the long AFS path.

3. How do I locate the path of my course’s AFS volume?

Course directories that were set up Fall 2001 or later can be accessed via one of the following AFS paths:

For course directories set up prior to Fall 2001, the same scheme applies. However, you would need to know what the directory was named.

AFS term designation can be determined as follows:

Academic Term AFS Term Designation (based on PeopleSoft)
Fall 2001 1022
Fall 2002 1032
Fall 2003 1042
Fall 2004 1052
   
Winter 2002 1024
Winter 2003 1034
Winter 2004 1044
Winter 2005 1054
   
Spring 2002 1026
Spring 2003 1036
Spring 2004 1046
Spring 2005 1056
   
Summer 2002 1028
Summer 2003 1038
Summer 2004 1048
Summer 2005 1058

4. How do I copy content from a previous course WWW directory to the current course WWW directory?

Via Unix commands:

  1. After logging in to Unix, type the following command to navigate to the WWW directory from which you wish to copy content:
    cd /afs/ir/class/archive/subject/subjectnumber/subjectnumber.term
    For example: /afs/ir/class/archive/cs/cs1/cs1.1046 would correspond to the Spring ’04 course directory for cs 1.
  2. Type the following command:
    cp -r * /afs/ir/class/subjectnumber/WWW
    For example: cp -r * /afs/ir/class/cs1/WWW. This will copy over all content from the WWW directory of cs 1 (Spring ’04) to the WWW directory of cs 1 (current quarter).

Via AFS Mounting:

5. How can I reference WWW content in CourseWork?
If you wish to point to WWW content within your CourseWork site, then please use the permanent URL rather than the shortcut URL, which will point to different content when request for a new course web site is made.

On Step 1 of the Add Content wizard,

  1. Select Link to URL
  2. Type the full URL of the file's location. Remember to include http:// in the URL.
    (e.g. http://www.stanford.edu/class/archive/cs/cs1.1046/file.pdf)

  3. Click Next to continue with the Add Content process.

6. What should I do if I have AFS questions or issues?
AFS is managed by ITSS, Stanford’s central computing group. Therefore, please contact ITSS for questions or assistance related to locating a course directory, obtaining access permissions, or moving course content from one directory to another.

7. Where can I learn more about AFS?
The following URLs provide additional information about AFS:


Updated: April 1, 2005 by
Stanford Academic Computing
A division of Stanford University Libraries and
Academic Information Resources

Copyright © 2005 by the Board of Trustees
of the Leland Stanford Junior University.